If you're using linux server you can use this function in Acaos' nwnx_structs plugin:
/* Returns the internal effect integer at the index specified. The index
* is limited to being between 0 and 15, and which index contains what
* value depends entirely on the type of effect. */
int GetEffectInteger (effect eEffect, int nIndex);
An EffectConcealment stores the % value at index 0 and the MISS_CHANCE_TYPE_* in index 4
If it's had VersusRacialTypeEffect applied to it then the race is stored in index 1, if not it will be RACIAL_TYPE_INVALID.
If it's had VersusAlignmentEffect applied to it then alignment versus law/chaos is stored in index 2, and versus alignment good/evil in index 3; if not these will be 0.
(EffectMissChance functions identically)
Modifié par pope_leo, 03 mai 2012 - 08:16 .