Stat Opcodes and effects
Neige
Member Posts: 18
I want to make a fighter mod which implements stance. Thanks to the Artisan's kitpack I have been able to create the spells to achieve this, however I have some trouble to remove some effects when the stance is ended.
To better understand, I have used EEKeeper to see what is going on. The following opcodes are not counted as effects:
opcode 0 (AC modifier)
opcode 1 (attack per round modifier)
opcodes 27 to 30 (resistances to acid, cold, electricity, fire)
opcodes 86 to 89 (resistances to slashing, crushing, piercing, missile)
while the following opcodes are listed in the effects tab:
opcode 31 (resistance to magic damage)
opcode 173 (resistance to poison)
opcode 278 (to hit modifier)
opcode 301 (critical hit modifier)
The effects of the spell are all the same (permanent until death) and are supposed to be removed thanks to the effect with opcode 321 (remove effect by ressource). Currently my spell only remove opcodes listed in the effects tab of the Keeper, while other effects are permanent once set.
For instance for opcode 0, in game the AC is displayed as 9, and not as 10 with a characteristic bonus of 1.
To better understand, I have used EEKeeper to see what is going on. The following opcodes are not counted as effects:
opcode 0 (AC modifier)
opcode 1 (attack per round modifier)
opcodes 27 to 30 (resistances to acid, cold, electricity, fire)
opcodes 86 to 89 (resistances to slashing, crushing, piercing, missile)
while the following opcodes are listed in the effects tab:
opcode 31 (resistance to magic damage)
opcode 173 (resistance to poison)
opcode 278 (to hit modifier)
opcode 301 (critical hit modifier)
The effects of the spell are all the same (permanent until death) and are supposed to be removed thanks to the effect with opcode 321 (remove effect by ressource). Currently my spell only remove opcodes listed in the effects tab of the Keeper, while other effects are permanent once set.
For instance for opcode 0, in game the AC is displayed as 9, and not as 10 with a characteristic bonus of 1.
Post edited by Neige on
0
Comments
Edit: i did not see the answer of jmerry. Now I have, thank you !