Skip to content
zetaepyon edited this page Jun 30, 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')

The status_effects table has the following entries:


status_effects.player

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)

status_effects.party

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],)
Clone this wiki locally