def level_up [url=home.php?mod=space&uid=22147]@level[/url] += 1 $game_party.gain_item($data_items[1], 1) #负数为减少物品 for learning in self.class.learnings learn_skill(learning.skill_id) if learning.level == @level end end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |