Removed deprecated methods

This commit is contained in:
Maruno17
2024-06-27 21:37:00 +01:00
parent 509a414f37
commit 6cc07d1c7a
12 changed files with 1 additions and 866 deletions

View File

@@ -23,14 +23,6 @@ class Battle::Move
CRITICAL_HIT_RATIOS = (Settings::NEW_CRITICAL_HIT_RATE_MECHANICS) ? [24, 8, 2, 1] : [16, 8, 4, 3, 2]
def to_int; return @id; end
# @deprecated This method is slated to be removed in v22.
def baseDamage
Deprecation.warn_method("baseDamage", "v22", "power")
return @power
end
#-----------------------------------------------------------------------------
# Creating a move.
#-----------------------------------------------------------------------------