FANDOM


// JLR-OEI 04/11/06 
// Returns the value of the given integer in the given Effect
int GetEffectInteger( effect eTest, int nIdx );

In order to use this function you should know exactly which parameter you're trying to extract from the effect entered into eTest. Once you know that the rest is easy. The first parameter is always 0 for nIdx, the second is 1, the thrid is 2, and so on.

Note: Testing has shown that certain effects do not return the correct parameter for their position at nIdx. For instance, EffectACIncrease returns the parameter nValue when nIdx = 1 rather than 0 and returns the parameter nModifyType at nIdx 0 rather than 1. The index values that should return are switched. Be aware of this strange behavior when using this function.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.