- Joined
- Jan 2, 2021
- Messages
- 4
- Reaction score
- 2
- First Language
- English
- Primarily Uses
- RMMV
I would like to know how to make simple attack buffs and defense debuffs. In my mind, these buffs/debuffs would increase or decrease the stat variable ( Stat Variable = the attack or defense stat from the targeted actor ) by 15%. I have not worked with code in the past, so I looked on forums and tried to stitch together something that made sense, at least in my mind.
If someone could lay out the building blocks, I can replicate it for each buff / debuff.
Code:
<Custom Apply Effect>
If (target.isactor()) { target.atk * 20 }
</Custom Apply Effect>
<Custom atk Buff Turn>
turn = 10
turn += user.agi;
</Custom atk Buff Turn>
If someone could lay out the building blocks, I can replicate it for each buff / debuff.