Difference between revisions of "GetEffectInteger"
From ALFA
Foambats4all (talk | contribs) (Created page with "Category:NWScript Functions = Definition = // JLR-OEI 04/11/06 // Returns the value of the given integer in the given Effect int GetEffectInteger( effect eTest, int nI...") |
(No difference)
|
Revision as of 06:28, 24 January 2014
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.