Added some Gen 8 ability effects

This commit is contained in:
Maruno17
2021-06-22 22:36:12 +01:00
parent 9344ef8d04
commit 0ad86e6b03
3 changed files with 268 additions and 67 deletions

View File

@@ -360,7 +360,7 @@ class PokeBattle_Battler
end
end
# Protean
if user.hasActiveAbility?(:PROTEAN) && !move.callsAnotherMove? && !move.snatched
if user.hasActiveAbility?([:LIBERO, :PROTEAN]) && !move.callsAnotherMove? && !move.snatched
if user.pbHasOtherType?(move.calcType) && !GameData::Type.get(move.calcType).pseudo_type
@battle.pbShowAbilitySplash(user)
user.pbChangeTypes(move.calcType)