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

Fix Worm Rot

git-svn-id: http://svn.net-core.org/repos/t-engine4@4588 51575b47-30f0-44d4-a5cc-537603b46e54
parent 7a48ad32
No related branches found
No related tags found
No related merge requests found
......@@ -213,7 +213,7 @@ newTalent{
local params = disease.params
params.src = self
if target:canBe("disease") then
target:setEffect(disease.id, 6, {src=self, dam=disease.params.dam, str=disease.params.str, dex=disease.params.dex, con=disease.params.con, heal_factor=disease.params.heal_factor, burst=disease.params.burst, apply_power=self:combatSpellpower()})
target:setEffect(disease.id, 6, {src=self, dam=disease.params.dam, str=disease.params.str, dex=disease.params.dex, con=disease.params.con, heal_factor=disease.params.heal_factor, burst=disease.params.burst, rot_timer=disease.params.rot_timer, apply_power=self:combatSpellpower()})
else
game.logSeen(target, "%s resists the disease!", target.name:capitalize())
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