--This is used in the absorb effect for some reason
Unknown=bit32.lshift(1,19),
--AdditionalEffectType flags
--The AdditionalEffectType is used for the additional effects some weapons have.
--These effect ids do not repeat the effect of the attack and will not show without a preceding HitEffectType or MagicEffectType
--It's unclear what this is for. The ifrit fight capture has a BLM using the garuda weapon
--and this flag is set every time but has no apparent effect.
UnknownAdditionalFlag=1,
--These play effects on the target
FireEffect=bit32.lshift(1,10),
IceEffect=bit32.lshift(2,10),
WindEffect=bit32.lshift(3,10),
EarthEffect=bit32.lshift(4,10),
LightningEffect=bit32.lshift(5,10),
WaterEffect=bit32.lshift(6,10),
AstralEffect=bit32.lshift(7,10),--Possibly for blind?
UmbralEffect=bit32.lshift(8,10),--Posibly for poison?
--Unknown status effect effects
StatusEffect1=bit32.lshift(12,10),
StatusEffect2=bit32.lshift(13,10),
HPAbsorbEffect=bit32.lshift(14,10),
MPAbsorbEffect=bit32.lshift(15,10),
TPAbsorbEffect=bit32.lshift(16,10),
TripleAbsorbEffect=bit32.lshift(17,10),--Not sure about this
MoogleEffect=bit32.lshift(18,10),
--MagicEffectType Flags
--THese are used for magic effects that deal or heal damage as well as damage over time effects
--Crit is the same as HitEffectType
FullResist=0,
WeakResist=bit32.lshift(1,0),--Used for level 1, 2, and 3 resists probably
NoResist=bit32.lshift(1,1),
MagicShell=bit32.lshift(1,4),--Used when casting on target with shell effects. MagicEffectType doesnt have a flag for protect or stoneskin
MagicShield=bit32.lshift(1,5),--When used with an command that has an animation, this plays a purple shield effect. DoTs also have this flag set (at least on ifrit) but they have no animations so it doesnt show
-- Required for heal text to be blue, not sure if that's all it's used for
Heal=bit32.lshift(1,8),
MP=bit32.lshift(1,9),--Causes "MP" text to appear when used with MagicEffectType. | with Heal to make text blue
TP=bit32.lshift(1,10),--Causes "TP" text to appear when used with MagicEffectType. | with Heal to make text blue
--SelfHealType flags
--This category causes numbers to appear on the user rather regardless of the target associated with the hit effect and do not play an animation
--These determine the text that displays (HP has no text)
SelfHealHP=0,
SelfHealMP=bit32.lshift(1,0),--Shows MP text on self. | with SelfHeal to make blue
SelfHealTP=bit32.lshift(1,1),--Shows TP text on self. | with SelfHeal to make blue