Aller au contenu

Photo

Getting specific effect values


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
Rubies

Rubies
  • Members
  • 292 messages
Possibly just a lack of sleep making this difficult for me but I can't seem to figure out how to get the specific values of effects.

Specifically, I'm trying to retrieve the exact value of an EFFECT_TYPE_DAMAGE_INCREASE or EFFECT_TYPE_DAMAGE_DECREASE from a GetEffectType loop for the purposes of calculating total damage (something the silly part of me had never even thought about!).

#2
Werehound

Werehound
  • Members
  • 11 messages
NWNX2 and specifically nwnx_funcs (there is a windows version out there now) has functions for GetEffectInteger, which can return any of the 8 integers effects use, usually only the first two are used, however.