def make_action_speed xzgj = [23,24,25] #<=先发技能、先制攻击的技能id judeg = false xzgj.each{|i| judeg = true if @current_action.skill_id == i && @current_action.kind == 1} @current_action.speed = agi+ (judeg ? 1000000 : 0) end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |