ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Thu Sep 20, 2018 6:14 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri May 11, 2018 6:40 am 
Offline

Joined: Fri May 11, 2018 6:35 am
Posts: 4
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?


Top
 Profile  
 
PostPosted: Fri May 11, 2018 7:56 pm 
Offline
Higher

Joined: Sun Dec 10, 2017 12:27 am
Posts: 79
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


Top
 Profile  
 
PostPosted: Sat May 12, 2018 9:11 am 
Offline

Joined: Fri May 11, 2018 6:35 am
Posts: 4
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


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!


Top
 Profile  
 
PostPosted: Sat May 12, 2018 11:39 am 
Offline
Higher

Joined: Sun Dec 10, 2017 12:27 am
Posts: 79
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group