#--------------------------------------------------------------------------
# ● 扣除技能的使用消耗
#--------------------------------------------------------------------------
def pay_skill_cost(skill)
if(skill.id==15)
self.mp -= skill_mp_cost(skill)
else
self.mp += skill_mp_cost(skill)
end
self.tp -= skill_tp_cost(skill)
end
#--------------------------------------------------------------------------
# ● 扣除技能的使用消耗
#--------------------------------------------------------------------------
def pay_skill_cost(skill)
if(skill.id==15)
self.mp -= skill_mp_cost(skill)
else
self.mp += skill_mp_cost(skill)
end
self.tp -= skill_tp_cost(skill)
end