mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Fixed typo in Simple Beam's code.
This commit is contained in:
@@ -394,11 +394,11 @@ class PokeBattle_Move_018 < PokeBattle_Move
|
|||||||
user.pbCureStatus(false)
|
user.pbCureStatus(false)
|
||||||
case t
|
case t
|
||||||
when PBStatuses::BURN
|
when PBStatuses::BURN
|
||||||
@battle.pbDisplay(_INTL("{1} healed its burn!",user.pbThis))
|
@battle.pbDisplay(_INTL("{1} healed its burn!",user.pbThis))
|
||||||
when PBStatuses::POISON
|
when PBStatuses::POISON
|
||||||
@battle.pbDisplay(_INTL("{1} cured its poisoning!",user.pbThis))
|
@battle.pbDisplay(_INTL("{1} cured its poisoning!",user.pbThis))
|
||||||
when PBStatuses::PARALYSIS
|
when PBStatuses::PARALYSIS
|
||||||
@battle.pbDisplay(_INTL("{1} cured its paralysis!",user.pbThis))
|
@battle.pbDisplay(_INTL("{1} cured its paralysis!",user.pbThis))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -1422,7 +1422,7 @@ class PokeBattle_Move_04E < PokeBattle_TargetStatDownMove
|
|||||||
super
|
super
|
||||||
@statDown = [PBStats::SPATK,2]
|
@statDown = [PBStats::SPATK,2]
|
||||||
end
|
end
|
||||||
|
|
||||||
def pbFailsAgainstTarget?(user,target)
|
def pbFailsAgainstTarget?(user,target)
|
||||||
return true if super
|
return true if super
|
||||||
return false if damagingMove?
|
return false if damagingMove?
|
||||||
@@ -1442,7 +1442,7 @@ class PokeBattle_Move_04E < PokeBattle_TargetStatDownMove
|
|||||||
end
|
end
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
def pbAdditionalEffect(user,target)
|
def pbAdditionalEffect(user,target)
|
||||||
return if user.gender==2 || target.gender==2 || user.gender==target.gender
|
return if user.gender==2 || target.gender==2 || user.gender==target.gender
|
||||||
return if target.hasActiveAbility?(:OBLIVIOUS) && !@battle.moldBreaker
|
return if target.hasActiveAbility?(:OBLIVIOUS) && !@battle.moldBreaker
|
||||||
@@ -1926,7 +1926,7 @@ class PokeBattle_Move_060 < PokeBattle_Move
|
|||||||
def pbEffectGeneral(user)
|
def pbEffectGeneral(user)
|
||||||
user.pbChangeTypes(@newType)
|
user.pbChangeTypes(@newType)
|
||||||
typeName = PBTypes.getName(@newType)
|
typeName = PBTypes.getName(@newType)
|
||||||
@battle.pbDisplay(_INTL("{1} transformed into the {2} type!",user.pbThis,typeName))
|
@battle.pbDisplay(_INTL("{1} transformed into the {2} type!",user.pbThis,typeName))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -2001,7 +2001,7 @@ class PokeBattle_Move_063 < PokeBattle_Move
|
|||||||
@abilityBlacklist = [
|
@abilityBlacklist = [
|
||||||
:TRUANT,
|
:TRUANT,
|
||||||
# This ability
|
# This ability
|
||||||
:SIMPLEBEAM,
|
:SIMPLE,
|
||||||
# Form-changing abilities
|
# Form-changing abilities
|
||||||
:BATTLEBOND,
|
:BATTLEBOND,
|
||||||
:DISGUISE,
|
:DISGUISE,
|
||||||
@@ -2430,7 +2430,7 @@ class PokeBattle_Move_068 < PokeBattle_Move
|
|||||||
def pbEffectAgainstTarget(user,target)
|
def pbEffectAgainstTarget(user,target)
|
||||||
target.effects[PBEffects::GastroAcid] = true
|
target.effects[PBEffects::GastroAcid] = true
|
||||||
target.effects[PBEffects::Truant] = false
|
target.effects[PBEffects::Truant] = false
|
||||||
@battle.pbDisplay(_INTL("{1}'s Ability was suppressed!",target.pbThis))
|
@battle.pbDisplay(_INTL("{1}'s Ability was suppressed!",target.pbThis))
|
||||||
target.pbOnAbilityChanged(target.ability)
|
target.pbOnAbilityChanged(target.ability)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -2570,7 +2570,7 @@ class PokeBattle_Move_070 < PokeBattle_FixedDamageMove
|
|||||||
@battle.pbHideAbilitySplash(target)
|
@battle.pbHideAbilitySplash(target)
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
if NEWEST_BATTLE_MECHANICS &&
|
if NEWEST_BATTLE_MECHANICS &&
|
||||||
isConst?(target.damageState.typeMod,PBTypes,:ICE) && target.pbHasType?(:ICE)
|
isConst?(target.damageState.typeMod,PBTypes,:ICE) && target.pbHasType?(:ICE)
|
||||||
@battle.pbDisplay(_INTL("But it failed!"))
|
@battle.pbDisplay(_INTL("But it failed!"))
|
||||||
return true
|
return true
|
||||||
@@ -2921,4 +2921,4 @@ class PokeBattle_Move_07F < PokeBattle_Move
|
|||||||
end
|
end
|
||||||
return baseDmg
|
return baseDmg
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user