- 428
- Posts
- 5
- Years
- Zekko
- Seen Nov 21, 2023
I was thinking, setup sweepers can be REALLY busted. Especially in my game, where some changes made this even better. So I came up with a system to nerf it.
When a Pokemon attacks physically while having a boosted Attack stat (due to Swords Dance for example) or attacks Specially while having a boosted Special Attack stat (due to Tail Glow for example) how do I reset this to 0 at the end of the turn?
How do I write the following in Pokemon Essentials code, and where do I put it?
When TurnEnd=True
If Pokemon.PhysicallyAttackedThisTurn=True && Pokemon.AttackRaised = True
Pokemon.AttackModifier = -1
end
If Pokemon.SpeciallyAttackedThisTurn=True && Pokemon.SpecialAttackRaised = True
Pokemon.SpecialAttackModifier = -1
end
When a Pokemon attacks physically while having a boosted Attack stat (due to Swords Dance for example) or attacks Specially while having a boosted Special Attack stat (due to Tail Glow for example) how do I reset this to 0 at the end of the turn?
How do I write the following in Pokemon Essentials code, and where do I put it?
When TurnEnd=True
If Pokemon.PhysicallyAttackedThisTurn=True && Pokemon.AttackRaised = True
Pokemon.AttackModifier = -1
end
If Pokemon.SpeciallyAttackedThisTurn=True && Pokemon.SpecialAttackRaised = True
Pokemon.SpecialAttackModifier = -1
end
Last edited: