ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Wed Jun 26, 2019 6:40 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sun Jan 27, 2019 5:54 pm 
Offline
Wayist

Joined: Thu Mar 12, 2015 11:12 pm
Posts: 25
The function getStatDesc in mod/dialogs/LevelupDialog.lua currently duplicates information from the onStatChange function in mod/class/Actor.lua. For instance, multi_life is calculated separately in each function. This any addon which superloads onStatChange must also superload getStatDesc to prevent UI discrepancies. This reduces compatibility, both with other addons and with future versions of TOME. I propose moving Actor stat change information from LevelupDialog.lua into Actor.lua, perhaps into a new function such as 'getStatChange(stat, property)'.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


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