Page 1 of 1

Turns used up reactivating sustaineds on level up

Posted: Wed Jun 30, 2010 2:54 pm
by CheapyPipe
Turns are used up when your character deactivates and reactivates sustained abilities following the assignment of attributes after levelling up.

The problem is here:

Code: Select all

    for i, tid in ipairs(reset) do
        local old = self.actor.energy.value
        self.actor:useTalent(tid)
        self.actor.energy.value = old 
        self.actor.talents_cd[tid] = nil 
        self.actor:useTalent(tid)
        self.actor.energy.value = old 
    end
Roughly line 135 of the untouched b5 file "dialogs/LevelupTalentsDialog.lua". The player is still using energy, even though it's being reset.