Skip to content
Snippets Groups Projects
Commit 8b7792b2 authored by dg's avatar dg
Browse files

Catalepsy will not give too many "resist" messages

git-svn-id: http://svn.net-core.org/repos/t-engine4@2197 51575b47-30f0-44d4-a5cc-537603b46e54
parent 9cc13623
No related branches found
No related tags found
No related merge requests found
......@@ -152,9 +152,9 @@ newTalent{
DamageType:get(DamageType.BLIGHT).projector(self, px, py, DamageType.BLIGHT, d.params.dam * d.params.dur)
end
if #diseases > 0 and target:checkHit(self:combatSpellpower(), target:combatSpellResist(), 0, 95, 8) and target:canBe("stun") then
if #diseases > 0 and target:checkHit(self:combatSpellpower(), target:combatSpellResist(), 0, 95, 8) and target:canBe("stun") then
target:setEffect(target.EFF_STUNNED, dur, {})
else
elseif #diseases > 0 then
game.logSeen(target, "%s resists the stun!", target.name:capitalize())
end
game.level.map:particleEmitter(px, py, 1, "slime")
......
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