#描述反弹伤害部分
if target.state?(18)
if @active_battler.current_action.kind == 0 and target.damage != "Miss"
target.animation_id = 98
@active_battler.hp -= @active_battler.damage.to_i
@active_battler.damage_pop = true
end
end
#描述吸血部分
if (@active_battler.state?(50) and @active_battler.current_action.basic == 0 and @active_battler.current_action.kind == 0) or (@active_battler.state?(50) and @active_battler.current_action.kind == 1 and $data_skills[@active_battler.current_action.skill_id].power > 0)
for target in @target_battlers
if target.damage != nil and target.damage != "Miss"
@active_battler.hp += (target.damage*0.1).to_i
@active_battler.damage = 0 - (target.damage*0.1).to_i
@active_battler.damage_pop = true
end
end
end
if target.damage != nil
target.damage_pop = true
end
end