Skip to content
Snippets Groups Projects
Commit df867540 authored by Chris Davidson's avatar Chris Davidson
Browse files

Fix Epidemic spread not using disease durations above 6

parent d881a443
No related branches found
No related tags found
1 merge request!529Defiler revision
......@@ -293,8 +293,10 @@ newTalent{
params.__tmpvals = nil
params.src = self
params.apply_power = self:combatSpellpower()
local dur = math.max(6, params.dur)
if target:canBe("disease") then
target:setEffect(disease.id, 6, params)
target:setEffect(disease.id, dur, params)
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