Hi I have created a item that when used should heal the champ of poison. I drink a poison potion use the item and the champ is not cured of poison.
{
class = "UsableItem",
onUseItem = function(self,champion)
playSound("curepoison_1")
champion:setCondition("poison", 0) ---Is this the problem---
hudPrint(champion:getName() .. " Uses the mugwort and poison is cured.")
end
},
}
}
OnuseItem ?
- Eleven Warrior
- Posts: 752
- Joined: Thu Apr 18, 2013 2:32 pm
- Location: Australia
Re: OnuseItem ?
Ahhh thxs man 
