From: Mario Date: Tue, 3 Jun 2014 21:58:04 +0000 (+1000) Subject: Don't apply armor reduction here (it is automatically done on damage) X-Git-Tag: xonotic-v0.8.0~171^2~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=65cc53d883dd9b2d61456400a30aae7548f5d5ea;p=xonotic%2Fxonotic-data.pk3dir.git Don't apply armor reduction here (it is automatically done on damage) --- diff --git a/qcsrc/server/mutators/mutator_buffs.qc b/qcsrc/server/mutators/mutator_buffs.qc index 15c500446..200c307ac 100644 --- a/qcsrc/server/mutators/mutator_buffs.qc +++ b/qcsrc/server/mutators/mutator_buffs.qc @@ -370,10 +370,8 @@ MUTATOR_HOOKFUNCTION(buffs_PlayerDamage_Calculate) if(!ITEM_DAMAGE_NEEDKILL(frag_deathtype)) { entity dmgent = spawn(); - vector v = healtharmor_applydamage(frag_attacker.armorvalue, autocvar_g_balance_armor_blockpercent, DEATH_BUFF_VENGEANCE, frag_damage * autocvar_g_buffs_vengeance_damage_multiplier); - float take = v_x; - - dmgent.dmg = take; + + dmgent.dmg = frag_damage * autocvar_g_buffs_vengeance_damage_multiplier; dmgent.enemy = frag_attacker; dmgent.owner = frag_target; dmgent.think = buff_Vengeance_DelayedDamage;