Code: Select all
party:getChampion(slot):gainExp(amount)
Code: Select all
function exp1()
party:getChampion(1):gainExp(250)
party:getChampion(2):gainExp(250)
party:getChampion(3):gainExp(250)
party:getChampion(4):gainExp(250)
hudPrint("Progress Made : 250 XP Bonus")
playSound("secret")
end
Code: Select all
for i=1,4 do party:getChampion(i):gainExp(250)
Code: Select all
function exp()
hudPrint ("Gained 250 exp.")
for i=1,4 do
party:getChampion(i):gainExp(250)
end
end