Turns used up reactivating sustaineds on level up
Posted: Wed Jun 30, 2010 2:54 pm
Turns are used up when your character deactivates and reactivates sustained abilities following the assignment of attributes after levelling up.
The problem is here:
Roughly line 135 of the untouched b5 file "dialogs/LevelupTalentsDialog.lua". The player is still using energy, even though it's being reset.
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