def skilleffect(target,skills_id,skills_rand,)
if target.skills.include?($data_skills[skills_id])
if rand(100)<skills_rand && self.mp>=40
t_value=value
value += (user.atk+user.agi)*1.5
p"├√长驱1触发(-1),累积伤害#{@t_value};附加伤害#{value-t_value}!"
self.mp-=1
else
p"├×长驱1#{bcf}"
value
end
end
end
def skilleffect(target,skills_id,skills_rand,)
if target.skills.include?($data_skills[skills_id])
if rand(100)<skills_rand && self.mp>=40
t_value=value
value += (user.atk+user.agi)*1.5
p"├√长驱1触发(-1),累积伤害#{@t_value};附加伤害#{value-t_value}!"
self.mp-=1
else
p"├×长驱1#{bcf}"
value
end
end
end