- 4
- Posts
- 3
- Years
- Seen Dec 11, 2021
Can someone show me how to modify Slakings truant ability so that it can use healing moves on the turns that it loafs around in Pokemon Essentials?
def pbTryUseMove
since that's where Truant makes its blocking effect as well.if !@effects[PBEffects::Truant]
and make it if !@effects[PBEffects::Truant] && !move.healingMove?
if hasActiveAbility?(:TRUANT)
just above it instead. (did not test)def pbTryUseMove
(yep, same method), find if self.hasWorkingAbility(:TRUANT) && @effects[PBEffects::Truant]
and make it if self.hasWorkingAbility(:TRUANT) && @effects[PBEffects::Truant] && !thismove.isHealingMove?