PUSH /*Description*/ /*The default poison formula is as follows: UnitMaxHP/8 - 5 + RNG(10) Here you can change the formula with the following variables UnitMaxHP/(A) (+/-) (B) (+/-) RNG((C))*/ /*-Settings-*/ /*Uncomment a line (delete the //) to activate a selection. Use comment (//) to deactivate the selection.*/ /*-Pick one-*/ //#define A=1 //#define A=2 //#define A=4 #define A=8 //#define A=16 //#define A=32 /*-Add or subtract B?- */ //#define addB /*-Set the value of B-*/ #define B 5 /*-Add or subtract C?-*/ #define addC /*-Set the value of C-*/ #define C 10 /*-Regen uses the Poison formula?-*/ //#define RegenUsesPoisonFormula /*-End of Settings-*/ //Change the divisor ORG 0x1303CC #ifdef A=1 SHORT $0400 // 1 #endif #ifdef A=2 SHORT $03C0 // 2 #endif #ifdef A=4 SHORT $0380 // 4 #endif #ifdef A=8 SHORT $0340 // 8 #endif #ifdef A=16 SHORT $0300 // 16 #endif #ifdef A=32 SHORT $02C0 // 32 #endif //Add or subtract B ORG 0x1303D9 #ifdef addB BYTE $34 #endif #ifndef addB BYTE $3C #endif //Change the value of B ORG 0x1303D8; BYTE B //Add or subtract C ORG 0x1303E5 #ifdef addC BYTE $18 #endif #ifndef addC BYTE $1A #endif //Change the value of C ORG 0x1303DE BYTE C + 1 //Regen uses the Poison formula? ORG 0x1303FC #ifdef RegenUsesPoisonFormula SHORT $B500 SHORT $F7FF SHORT $FFD5 SHORT $BC02 SHORT $4708 #endif #ifndef RegenUsesPoisonFormula SHORT $B530 SHORT $1C04 SHORT $2116 SHORT $F797 SHORT $FD4F #endif POP