mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-01-23 06:46:00 +00:00
Fixed Rollout being affected by Parental Bond, fixed multi-turn moves being stopped by Torment, fixed BGM not stopping when returning to the title screen, removed AI references
This commit is contained in:
@@ -536,6 +536,8 @@ end
|
||||
# Power is also doubled if user has curled up. (Ice Ball, Rollout)
|
||||
#===============================================================================
|
||||
class Battle::Move::MultiTurnAttackPowersUpEachTurn < Battle::Move
|
||||
def pbNumHits(user, targets); return 1; end
|
||||
|
||||
def pbBaseDamage(baseDmg, user, target)
|
||||
shift = (5 - user.effects[PBEffects::Rollout]) # 0-4, where 0 is most powerful
|
||||
shift = 0 if user.effects[PBEffects::Rollout] == 0 # For first turn
|
||||
|
||||
@@ -756,6 +756,9 @@ end
|
||||
|
||||
#===============================================================================
|
||||
# The target can no longer use the same move twice in a row. (Torment)
|
||||
# NOTE: Torment is only supposed to start applying at the end of the round in
|
||||
# which it is used, unlike Taunt which starts applying immediately. I've
|
||||
# decided to make Torment apply immediately.
|
||||
#===============================================================================
|
||||
class Battle::Move::DisableTargetUsingSameMoveConsecutively < Battle::Move
|
||||
def ignoresSubstitute?(user); return true; end
|
||||
|
||||
Reference in New Issue
Block a user