class Game_Enemy < Game_Battler attr_accessor :level alias qqeat_initialize initialize def initialize(index, enemy_id) qqeat_initialize(index, enemy_id) $data_enemies[@enemy_id].note.scan(/等级\s*=\s*(\d+)/i) @level = $1.to_i end end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |