Commit df86754065fdb2590059d333d057a1daf24210e8

Authored by Chris Davidson
1 parent d881a443

Fix Epidemic spread not using disease durations above 6

... ... @@ -293,8 +293,10 @@ newTalent{
293 293 params.__tmpvals = nil
294 294 params.src = self
295 295 params.apply_power = self:combatSpellpower()
  296 + local dur = math.max(6, params.dur)
  297 +
296 298 if target:canBe("disease") then
297   - target:setEffect(disease.id, 6, params)
  299 + target:setEffect(disease.id, dur, params)
298 300 else
299 301 game.logSeen(target, "%s resists the disease!", target.name:capitalize())
300 302 end
... ...