GetEffectInteger
From ALFA
Revision as of 04:37, 28 January 2014 by Foambats4all (talk | contribs)
Definition
// JLR-OEI 04/11/06 // Returns the value of the given integer in the given Effect int GetEffectInteger( effect eTest, int nIdx );
-
eTest
(Effect) -- The effect to select a value from. -
nIdx
(Integer) -- The index of the value to grab. See below for details for specific effects.
Effect Indexes
EffectACIncrease()
- 0 : The AC type, reference the AC_*_BONUS Constants.
- 1 : The strength of the effect.
- 5 : The damage type resisted.
- 6 : Whether or not the effect is vs. Spirits only.
EffectACDecrease()
- 0 : The AC type, reference the AC_*_BONUS Constants.
- 1 : The strength of the effect.
- 5 : The damage type resisted.