mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 21:54:58 +00:00
Split script section AI_Move_EffectScores in two and rearranged it
This commit is contained in:
@@ -718,8 +718,6 @@ class Battle::Move::LowerUserDefSpDef1 < Battle::Move::StatDownMove
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#===============================================================================
|
#===============================================================================
|
||||||
# Decreases the user's Defense, Special Defense and Speed by 1 stage each.
|
# Decreases the user's Defense, Special Defense and Speed by 1 stage each.
|
||||||
# (V-create)
|
# (V-create)
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
1383
Data/Scripts/011_Battle/005_AI/006_AI_Move_EffectScores_2.rb
Normal file
1383
Data/Scripts/011_Battle/005_AI/006_AI_Move_EffectScores_2.rb
Normal file
File diff suppressed because it is too large
Load Diff
@@ -175,8 +175,6 @@ class Battle::AI
|
|||||||
return baseDmg if skill < PBTrainerAI.mediumSkill
|
return baseDmg if skill < PBTrainerAI.mediumSkill
|
||||||
# Covers all function codes which have their own def pbBaseDamage
|
# Covers all function codes which have their own def pbBaseDamage
|
||||||
case move.function
|
case move.function
|
||||||
when "FlinchTargetTrampleMinimize" # Stomp
|
|
||||||
baseDmg *= 2 if skill >= PBTrainerAI.mediumSkill && target.effects[PBEffects::Minimize]
|
|
||||||
# Sonic Boom, Dragon Rage, Super Fang, Night Shade, Endeavor
|
# Sonic Boom, Dragon Rage, Super Fang, Night Shade, Endeavor
|
||||||
when "FixedDamage20", "FixedDamage40", "FixedDamageHalfTargetHP",
|
when "FixedDamage20", "FixedDamage40", "FixedDamageHalfTargetHP",
|
||||||
"FixedDamageUserLevel", "LowerTargetHPToUserHP"
|
"FixedDamageUserLevel", "LowerTargetHPToUserHP"
|
||||||
Reference in New Issue
Block a user