class Game_Battler def maxsp n = [[base_maxsp + @maxsp_plus, 0].max, 999999].min for i in @states n *= $data_states[i].maxsp_rate / 100.0 n += ZHUANGTAI::ZTSP[i] if ZHUANGTAI::ZTSP.include?(i) end n = [[Integer(n), 0].max, 999999].min return n end end module ZHUANGTAI #前面是状态ID,后面是加的SP值 ZTSP = {1=>30,2=>30} end
242.78 KB, 下载次数: 73
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |