[1.2.5] Acid Blood doesn't check if alive
Posted: Sat Jan 10, 2015 5:09 am
Acid Splash doesn't have a check to make sure the target is dead.
This can cause the debuff to bug out, permanently breaking Accuracy and Armor on the character.
to
This can cause the debuff to bug out, permanently breaking Accuracy and Armor on the character.
Code: Select all
if hitted and target:knowTalent(target.T_ACID_BLOOD) then
local t = target:getTalentFromId(target.T_ACID_BLOOD)
t.do_splash(target, t, self)
end
Code: Select all
if hitted and not target.dead and target:knowTalent(target.T_ACID_BLOOD) then
local t = target:getTalentFromId(target.T_ACID_BLOOD)
t.do_splash(target, t, self)
end