Oh, sorry, did not understand that part :S
I'm not sure this will work inside a hook. But you can give it a try:
onUseItem = function (self, champion)
for i = 1, 4 do
party:getChampion(i):setCondition("rage", 120)
end
return true
end,
if it won't works, you can always add a function inside the hook:
onUseItem = function (self, champion)
potions.violence()
return true.
end
an ingame add a script with an ID 'potions'
function violence()
for i = 1, 4 do
party:getChampion(i):setCondition("rage", 120)
end
end
Right now I cannot test anything - I always do something wrong, like a " missing or something similar - , so sorry if this crashes your editor, but later I'll give it a try too.