More or less standardised separator comments in the code

This commit is contained in:
Maruno17
2024-06-27 21:21:26 +01:00
parent 225549bfce
commit 509a414f37
198 changed files with 1907 additions and 1263 deletions

View File

@@ -1,7 +1,8 @@
#===============================================================================
#
#===============================================================================
class Battle::Battler
#=============================================================================
# Effect per hit
#=============================================================================
# Effect per hit.
def pbEffectsOnMakingHit(move, user, target)
if target.damageState.calcDamage > 0 && !target.damageState.substitute
# Target's ability
@@ -82,9 +83,7 @@ class Battle::Battler
end
end
#=============================================================================
# Effects after all hits (i.e. at end of move usage)
#=============================================================================
# Effects after all hits (i.e. at end of move usage).
def pbEffectsAfterMove(user, targets, move, numHits)
# Defrost
if move.damagingMove?