what's the lua code for Talents cooldown that aren't spells?
Moderator: Moderator
what's the lua code for Talents cooldown that aren't spells?
what's the lua code for Talents cooldown that aren't spells? (T_SLASH) for example isn't a spell (the 'is spell' indicator is no) "game.player.spell_cooldown_reduction=1" is for spells, so what's the one for other talents that aren't spells?
Re: what's the lua code for Talents cooldown that aren't spe
self.talent_cd_reduction.all for a numeric reduction (a simple value subtracted from the normal cooldown)
self.talent_cd_reduction.allpct for a percentage reduction (of the same form as self.spell_cooldown_reduction)
self.talent_cd_reduction[t.id] for a numeric reduction for a specific talent
self.talent_cd_reduction.allpct for a percentage reduction (of the same form as self.spell_cooldown_reduction)
self.talent_cd_reduction[t.id] for a numeric reduction for a specific talent
Re: what's the lua code for Talents cooldown that aren't spe
Thank you very much! I really appreciate it! Um If you don't mind, could you tell me how did you figure the command out? Is there a list of commands? the one in the wikipedia is missing a few (like the ones you gave me). Again thank you very much!Lokean wrote:self.talent_cd_reduction.all for a numeric reduction (a simple value subtracted from the normal cooldown)
self.talent_cd_reduction.allpct for a percentage reduction (of the same form as self.spell_cooldown_reduction)
self.talent_cd_reduction[t.id] for a numeric reduction for a specific talent
Re: what's the lua code for Talents cooldown that aren't spe
Reading the source. I'm putting together a class addon, so have been doing a lot of source diving.
The code's up on a git repository here (link is to your specific question): https://git.net-core.org/tome/t-engine4 ... .lua#L6369
The code's up on a git repository here (link is to your specific question): https://git.net-core.org/tome/t-engine4 ... .lua#L6369