Allow vampire buff to work with arc
authorMario <mario@smbclan.net>
Sat, 6 Feb 2016 20:27:49 +0000 (06:27 +1000)
committerMario <mario@smbclan.net>
Sat, 6 Feb 2016 20:27:49 +0000 (06:27 +1000)
qcsrc/common/mutators/mutator/buffs/buffs.qc

index 9b32642..903237f 100644 (file)
@@ -598,7 +598,6 @@ MUTATOR_HOOKFUNCTION(buffs, PlayerDamage_Calculate)
        // this... is ridiculous (TODO: fix!)
        if(frag_attacker.buffs & BUFF_VAMPIRE.m_itemid)
        if(!frag_target.vehicle)
-       if(DEATH_WEAPONOF(frag_deathtype) != WEP_ARC)
        if(!ITEM_DAMAGE_NEEDKILL(frag_deathtype))
        if(!IS_DEAD(frag_target))
        if(IS_PLAYER(frag_target) || IS_MONSTER(frag_target))