| 本帖最后由 taroxd 于 2013-10-19 20:43 编辑 
 权宜之计(我是新手,而且未测试。不能用不要怪我)
 
 
 #--------------------------------------------------------------------------  # ● 在技能上备注<tpcost x>(包括<>)后,技能的TP消耗变为x  #-------------------------------------------------------------------------- class RPG::Skill  def new_tp_cost    /<tpcost\s*(\d+)>/ =~ @note ? $1.to_i : 0  endend class Game_BattlerBase  def skill_tp_cost(skill)    if skill.new_tp_cost > 0      skill.new_tp_cost    else      skill.tp_cost    end  endend
#-------------------------------------------------------------------------- 
  # ● 在技能上备注<tpcost x>(包括<>)后,技能的TP消耗变为x 
  #-------------------------------------------------------------------------- 
  
class RPG::Skill 
  def new_tp_cost 
    /<tpcost\s*(\d+)>/ =~ @note ? $1.to_i : 0 
  end 
end 
  
class Game_BattlerBase 
  def skill_tp_cost(skill) 
    if skill.new_tp_cost > 0 
      skill.new_tp_cost 
    else 
      skill.tp_cost 
    end 
  end 
end 
 |