报错的图片.png (7.99 KB, 下载次数: 15)
class Game_Actor def initialize_battle_skill @battle_skill = Array.new(Skills_Slot_Name.size){ nil } end end
(1...$data_actors.size).each\ { |actor_id| $game_actors[actor_id].initialize_battle_skill }
RyanBern 发表于 2015-8-26 18:40
这个报错的意义是对nil调用了size方法,导致发生'no method error'。
出现这个问题是@battle_skill实变量没 ...
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |