[1.2.5] Acid Blood doesn't check if alive

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
StarKeep
Uruivellas
Posts: 703
Joined: Sun Feb 03, 2013 12:29 am
Location: Turtlemire

[1.2.5] Acid Blood doesn't check if alive

#1 Post 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
<mex> have you heard the good word about archmage?
<mex> I'm here to tell you about your lord and savior shalore archmage
<mex> have you repented your bulwark sins yet?
<mex> cornac shall inherit the Eyal

Post Reply