- 29
- Posts
- 7
- Years
- Seen Feb 8, 2024
I may be late to the party, but has anybody figured out how to properly code Foul Play? In my version of Pokemon Essentials (which I think is not too old) it says it's handled in a Super Class but I can't find it. I'm trying to find the code so I could switch it from instead of using the opponent's attack stat it uses the attacker's defense stat in the calculation instead of it's own attack stat. Basically a move uses the defense stat and any modifiers of the defense stat, so a Pokemon that uses Iron Defense then the move does more damage, instead of a Swords Dance boost.
I hope I didn't confuse anybody lol
I hope I didn't confuse anybody lol