Page 1 of 1

DOT and stats modifications

Posted: Thu Apr 29, 2021 11:40 pm
by Joel Xpector
Hello, i have some trouble when making the Dot(Damage Over Time) and stats change effect. I was making a combat code with skills wich can change the player/enemy status for amount of time (turns). There's 2 basic skills that i develop for a few days and ended with trash code, First is poison (enemy current hp decrease 1 per turn for 5 turns) and second is smoke bomb(enemy accuracy decrease for 3 turns). I hope my words not confusing to read or understand. If you know the correct code please help me.