Difference between revisions of "GetEffectInteger"

From ALFA
Jump to: navigation, search
(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...")
 
 
Line 1: Line 1:
 
[[Category:NWScript Functions]]
 
[[Category:NWScript Functions]]
  
= Definition =
+
== Definition ==
 
  // JLR-OEI 04/11/06
 
  // JLR-OEI 04/11/06
 
  // Returns the value of the given integer in the given Effect
 
  // Returns the value of the given integer in the given Effect
Line 8: Line 8:
 
* <code>'''nIdx'''</code> ([[Integer]]) -- The index of the value to grab. See below for details for specific effects.
 
* <code>'''nIdx'''</code> ([[Integer]]) -- The index of the value to grab. See below for details for specific effects.
  
= Effect Indexes =
+
== Effect Indexes ==
== [[EffectACIncrease]]() ==
+
=== [[EffectACIncrease]]() ===
 
* 0 : The [[Armor Class | AC]] type, reference the [[AC_*_BONUS Constants]].
 
* 0 : The [[Armor Class | AC]] type, reference the [[AC_*_BONUS Constants]].
 
* 1 : The strength of the effect.
 
* 1 : The strength of the effect.
Line 15: Line 15:
 
* 6 : Whether or not the effect is vs. [[Spirits]] only.
 
* 6 : Whether or not the effect is vs. [[Spirits]] only.
  
== [[EffectACDecrease]]() ==
+
=== [[EffectACDecrease]]() ===
 
* 0 : The [[Armor Class | AC]] type, reference the [[AC_*_BONUS Constants]].
 
* 0 : The [[Armor Class | AC]] type, reference the [[AC_*_BONUS Constants]].
 
* 1 : The strength of the effect.
 
* 1 : The strength of the effect.
 
* 5 : The [[Damage Type | damage type]] resisted.
 
* 5 : The [[Damage Type | damage type]] resisted.

Latest revision as of 04:37, 28 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()

EffectACDecrease()