Page 1 of 1

[1.2.5] Acid Blood doesn't check if alive

Posted: Sat Jan 10, 2015 5:09 am
by StarKeep
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.

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
to

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