begin if self.state?(reraise_id) && @reraised == false self.remove_state(reraise_id) @reraised = true @reraise_state = 0 end rescue end
RPGzh500223 发表于 2021-7-18 18:41
局部变量(假设a)声明(初始赋值)后才能进行如 a != nil 这样的操作。一般用 a.nil? 进行判断,不过还是不 ...
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |