permanently boost a stat
Posted: Sat Dec 29, 2012 10:02 pm
Thought I'd throw this one out there - it's similar to some of the "pit immunity" approaches, but is a permanent boost to a party stat. In my case, it's a 'blessing' of permanent +20 HP the party can earn at one point. Simple, but thought someone might find it useful. Change the [ for x = 1, 4, 1 ] piece to change which party members are affected.
Code: Select all
function blessing1()
for x = 1, 4, 1 do
local maxHealth = party:getChampion(x):getStatMax("health")
party:getChampion(x):setStatMax("health",maxHealth + 20)
end
end