how to lower atk in battle

hey so i am making a skill where it will half the users atk only problem is that a prememerter could only be buffed and not de-buffed


now for the love of god tell me why enterbrain thought it would be a good idea to have something that can be buffed but not debuffed 


i just do not know how i will make this kind of skill happen like i do not know why but i am fricking pissed at them for doing that


also just to add insult to injury there are some speical prememeter you can have buffed or de buffed but you can not debuff a stat premater
create a state that decreases attack and then add this in front of your skill formula (if you put if after the skill will probably deal 0 damage or apply the state after the damage is dealt)


a.addState(x); 


replace x with the number of the state

Original thread: https://forums.rpgmakerweb.com/threads/how-to-lower-atk-in-battle.64311/