ToME: the Tales of Maj'Eyal

Can't deactivate talent (Rapid Shots)
Page 1 of 1

Author:  Baker [ Fri Jun 18, 2010 12:28 am ]
Post subject:  Can't deactivate talent (Rapid Shots)

I'm currently playing a Dunadan archer who has the talent "Rapid Shot." Activating the talent seems to work, but deactivating throws the following errors:

[LOG]   Player deactivates Rapid Shot.
removeTempVal   combat_physspeed   nil    :=:    52
stack traceback:
   [C]: in function 'error'
   /engine/Actor.lua:311: in function 'removeTemporaryValue'
   /data/talents/techniques/archery.lua:123: in function 'deactivate'
   /engine/interface/ActorTalents.lua:134: in function </engine/interface/ActorTalents.lua:126>
Lua Error: /engine/interface/ActorTalents.lua:144: /engine/Actor.lua:311: unsupported temporary value type: nil
   At [C]:-1
   At [C]:-1 error
   At /engine/interface/ActorTalents.lua:144 useTalent
   At /engine/interface/PlayerHotkeys.lua:38 activateHotkey
   At /engine/HotkeysDisplay.lua:120 onMouse
   At /mod/class/Game.lua:827 fct
   At /engine/Mouse.lua:42

I'm figuring that the combat_physspeed value wasn't set correctly on activating the talent, which causes the nil error. I've set the cooldown of every skill to 1 for easier testing, but I don't think this has anything to do with the bug. "Aim" toggles fine, for example.

[Edit:] It seems that taking any kind of action or moving the mouse causes the engine to attempt to deactivate the talent again, which obviously makes me lose a turn each time. I don't know how or why that happens, though.

Author:  darkgod [ Fri Jun 18, 2010 9:40 am ]
Post subject:  Re: Can't deactivate talent (Rapid Shots)

Fixed thanks

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group