mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 06:04:59 +00:00
Plugins now recompile if any plugin name/version doesn't match one that was previously compiled, fixed Throat Chop's effect
This commit is contained in:
@@ -842,7 +842,8 @@ Battle::AI::Handlers::MoveEffectAgainstTargetScore.add("DisableTargetHealingMove
|
||||
#===============================================================================
|
||||
Battle::AI::Handlers::MoveEffectAgainstTargetScore.add("DisableTargetSoundMoves",
|
||||
proc { |score, move, user, target, ai, battle|
|
||||
next score if target.effects[PBEffects::ThroatChop] > 1
|
||||
next score if target.effects[PBEffects::ThroatChop] >= 1
|
||||
next score if target.effects[PBEffects::Substitute] > 0
|
||||
next score if !target.check_for_move { |m| m.soundMove? }
|
||||
# Check additional effect chance
|
||||
add_effect = move.get_score_change_for_additional_effect(user, target)
|
||||
|
||||
Reference in New Issue
Block a user