]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Increase trigger_hurt default damage to 10000, so tanks can't survive
authorMario <zacjardine@y7mail.com>
Thu, 13 Sep 2018 11:12:01 +0000 (21:12 +1000)
committerMario <zacjardine@y7mail.com>
Thu, 13 Sep 2018 11:12:01 +0000 (21:12 +1000)
qcsrc/common/mapobjects/trigger/hurt.qc

index 966e0cfb0fe6657287ee8135c9f9411f732de18d..f517151b399cf8d68cb1d98753a083f829141e68 100644 (file)
@@ -53,7 +53,7 @@ void trigger_hurt_touch(entity this, entity toucher)
 /*QUAKED spawnfunc_trigger_hurt (.5 .5 .5) ?
 Any object touching this will be hurt
 set dmg to damage amount
-default dmg = 1000
+default dmg = 10000
 */
 .entity trigger_hurt_next;
 entity trigger_hurt_last;
@@ -66,7 +66,7 @@ spawnfunc(trigger_hurt)
        this.use = trigger_hurt_use;
        this.enemy = world; // I hate you all
        if (!this.dmg)
-               this.dmg = 1000;
+               this.dmg = 10000;
        if (this.message == "")
                this.message = "was in the wrong place";
        if (this.message2 == "")