EffectLib provides a generic, manageable data structure for handling temporary effects such as debuffs, status ailments, etc.
This structure implements stackable, timed, toggle, and ticking functionality. It also implements id and subid identification of effects per-player, preventing accidental override of identified effect. Lastly, the structure allows the developer to quickly get existing effects on the user associated by either "id", or "id.subid".
See the documentation thread for further details, or Snippet Sunday #15 on the forums.
EffectLib |
|
Handle generic temporary combat effects efficiently and cleanly |
Copyright © 2024 BYOND Software.
All rights reserved.