你说的不被挨打直接反射的实际想法应该是不显示“xxx没有受到伤害”的文字反馈吧?(其实吧...不就是应该要打到才会反射才比较合理吗,都没打到对着空气反射吗...
class Window_BattleLog def display_hp_damage(target, item) return if target.result.hp_damage == 0 && item && !item.damage.to_hp? if target.result.hp_damage > 0 && target.result.hp_drain == 0 target.perform_damage_effect end Sound.play_recovery if target.result.hp_damage < 0 add_text(target.result.hp_damage_text) unless $invoke_magic wait end end
class Window_BattleLog
def display_hp_damage(target, item)
return if target.result.hp_damage == 0 && item && !item.damage.to_hp?
if target.result.hp_damage > 0 && target.result.hp_drain == 0
target.perform_damage_effect
end
Sound.play_recovery if target.result.hp_damage < 0
add_text(target.result.hp_damage_text) unless $invoke_magic
wait
end
end
|