I've tried to do it like this, with the character with ordinal 1 (the starting character) having the lvl of a second character checked when they join the party.
I want to get it so it loops granting exp until they are the same lvl
Code: Select all
if champion:getOrdinal(1):getLevel()==champion:getOrdinal(2):getLevel() then
hudPrint("same Level")
else
champion:getOrdinal(2)
:gainExp(1000)
return
end
end