Page 1 of 1
Granting experience
Posted: Tue Dec 09, 2014 3:27 am
by spikedsynapse
does anyone know a way to grant experience for solving a puzzle?
My dungeon is puzzle heavy, and i would like them to get a reward for completing the puzzles.
Re: Granting experience
Posted: Tue Dec 09, 2014 3:35 am
by GoldenShadowGS
Code: Select all
function getXP250()
for i = 1, 4, 1 do
party.party:getChampion(i):gainExp(250)
end
hudPrint("250 XP")
end
function getXP500()
for i = 1, 4, 1 do
party.party:getChampion(i):gainExp(500)
end
hudPrint("500 XP")
end
function getXP1000()
for i = 1, 4, 1 do
party.party:getChampion(i):gainExp(1000)
end
hudPrint("1000 XP")
end
Re: Granting experience
Posted: Tue Dec 09, 2014 6:01 am
by spikedsynapse
dude you are friggin awesome!
i never would have figure that one out
thanks so much