Added Aura Wheel's visible type change in battle, added "display" methods for several move properties and examples of their use

This commit is contained in:
Maruno17
2021-12-06 22:00:27 +00:00
parent 95916e242e
commit 5a81d447d1
7 changed files with 361 additions and 16 deletions

View File

@@ -1310,7 +1310,7 @@ end
class Battle::Move::TypeIsUserFirstType < Battle::Move
def pbBaseType(user)
userTypes = user.pbTypes(true)
return userTypes[0]
return userTypes[0] || @type
end
end