-
Notifications
You must be signed in to change notification settings - Fork 20
status_effects
zetaepyon edited this page Jul 6, 2018
·
2 revisions
This library status_effects provides tables of the status effects active on the player and party members.
local status_effects = require('status_effects')
❗ Dependency Required
To use this library, you must include
status_effects
in themanifest.xml
file for your package:<dependency>status_effects</dependency>
The status_effects
table has the following entries:
- status_effects.player : Table of the player's status effects
- status_effects.party : Table of party member status effects
The status_effects.player
table has the following entries
local shell = buffs.player[41] -- index using status_effect ID
print(#shell, shell[1].id, shell[1].timestamp)
local gelus = status_effects.player.Gelus -- index using status_effect resource name
print("\nPlayer: ", #gelus, gelus[1].id, gelus[1].timestamp)
The status_effects.party
table has the following entries
local pro = buffs.party[1][40] -- index using status_effect ID
print(#pro, pro[1],)
local ignis = buffs.party[1].Ignis -- index using status_effect resource name
print(, #ignis, ignis[1],)
- Background and Architecture
- Windower Data Locations
- Code Standards and Guidelines
- Addon Development
- Windower Commands
- Packet Tutorial
- burdometer
- config
- delay_me_not
- distance
- dress_up
- enternity
- fps
- ime
- logger
- party_time
- paste
- pouches
- send
- shortcuts
- speedometer
- target_info
- terminate
- timestamp
- window_title
- Game
- Windower
- General