How can I add this on a specific tick/time before the end of the duration, say at 190 seconds.
Code: Select all
defineCondition{
onStart = function(self, champion)
self:setDuration(200)
end,
onRecomputeStats = function(self, champion)
champion:setCondition("water_breathing")
end,
onTick = function(self, champion)
if not champion:isAlive() then
champion:removeCondition("water_breathing")
end
end,
onStop = function(self, champion)
champion:removeCondition("water_breathing")
end,
}