Skip to content
Snippets Groups Projects
Commit 7b1370a0 authored by dg's avatar dg
Browse files

Stoning Poison does not turn to stone is removed early

git-svn-id: http://svn.net-core.org/repos/t-engine4@6329 51575b47-30f0-44d4-a5cc-537603b46e54
parent 2ea20583
No related branches found
No related tags found
No related merge requests found
......@@ -384,7 +384,7 @@ newTalent{
end,
info = function(self, t)
return ([[Coat your weapons with a stoning poison, inflicting %d nature damage per turn for %d turns.
When the poison ends, the victim turns to stone for %d turns.
When the poison runs its full duration, the victim will turn to stone for %d turns.
The damage scales with your Cunning.]]):
format(damDesc(self, DamageType.NATURE, t.getDOT(self, t)), t.getDuration(self, t), t.getEffect(self, t))
end,
......
......@@ -242,7 +242,7 @@ newEffect{
activate = function(self, eff)
end,
deactivate = function(self, eff)
if self:canBe("stun") and self:canBe("stone") and self:canBe("instakill") then
if eff.dur <= 0 and self:canBe("stun") and self:canBe("stone") and self:canBe("instakill") then
self:setEffect(self.EFF_STONED, eff.stone, {})
end
end,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment