def self.upgradesucceed?(lv)
return true if UpGrade_Absoluteness
new_lv = lv.nil? ? 1 : lv + 1#重点是这段
return false if new_lv > MaxLevel
return BaseSucceed**new_lv > rand(0)
end
QQ截图20130316100711.png (4.95 KB, 下载次数: 10)
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |