Changes

Jump to navigation Jump to search
→‎Buff overhaul: update for build 24051 (added support for invisible buffs)
Line 6,200: Line 6,200:  
* The <samp>Buff</samp> constructor now supports a custom icon texture, sprite index, display name, description, and millisecond duration to fully support custom buffs.
 
* The <samp>Buff</samp> constructor now supports a custom icon texture, sprite index, display name, description, and millisecond duration to fully support custom buffs.
 
* You can change how buff attributes are displayed (or add new attributes) by extending the <samp>BuffsDisplay.displayAttributes</samp> list.
 
* You can change how buff attributes are displayed (or add new attributes) by extending the <samp>BuffsDisplay.displayAttributes</samp> list.
 +
* You can have invisible buffs by setting <samp>buff.visible = false</samp>.
    
For example, here's how to add a custom buff which adds +3 speed:
 
For example, here's how to add a custom buff which adds +3 speed:
translators
8,438

edits

Navigation menu