# 受到伤害的情况【改变战斗图位置】
# 排除捕捉和防御的情况
if @active_battler.current_action.kind != 3 and
@active_battler.current_action.basic != 1 and
target.damage == "Miss" or target.damage.to_i > 0
# 当战斗者为敌人的情况
if @active_battler.is_a?(Game_Enemy)
@a = 8 #抖动幅度【往左上挪动】
elsif @active_battler.is_a?(Game_Actor)
@a = -8 #抖动幅度【往右下挪动】
end
# 【挨打移动】位置
if @target_battlers.size == 1
@target_battlers[0].movex = @a
@target_battlers[0].movey = @a
else
for target in @target_battlers
target.movex = @a
target.movey = @a
end
end
end
# 受到伤害的情况【改变战斗图位置】
# 排除捕捉和防御的情况
if @active_battler.current_action.kind != 3 and
@active_battler.current_action.basic != 1 and
target.damage == "Miss" or target.damage.to_i > 0
# 当战斗者为敌人的情况
if @active_battler.is_a?(Game_Enemy)
@a = 8 #抖动幅度【往左上挪动】
elsif @active_battler.is_a?(Game_Actor)
@a = -8 #抖动幅度【往右下挪动】
end
# 【挨打移动】位置
if @target_battlers.size == 1
@target_battlers[0].movex = @a
@target_battlers[0].movey = @a
else
for target in @target_battlers
target.movex = @a
target.movey = @a
end
end
end
# 受到伤害的情况【改变战斗图位置】
# 排除捕捉和防御的情况
if @active_battler.current_action.kind != 3 and
@active_battler.current_action.basic != 1
# 【挨打移动】位置
for target in @target_battlers
next if target.damage == "Miss" or target.damage.to_i <= 0
target.movex = @active_battler.is_a?(Game_Enemy) ? 8 : -8
target.movey = target.movex
end
end
# 受到伤害的情况【改变战斗图位置】
# 排除捕捉和防御的情况
if @active_battler.current_action.kind != 3 and
@active_battler.current_action.basic != 1
# 【挨打移动】位置
for target in @target_battlers
next if target.damage == "Miss" or target.damage.to_i <= 0
target.movex = @active_battler.is_a?(Game_Enemy) ? 8 : -8
target.movey = target.movex
end
end