#-------------------------------------------------------------------------- # new method: victory_quotes #-------------------------------------------------------------------------- def victory_quotes(type) case type when :win return self.actor.win_quotes if self.actor.win_quotes != nil && self.actor.win_quotes != [""]#修改 return self.class.win_quotes when :level return self.actor.level_quotes if self.actor.level_quotes != nil && self.actor.level_quotes != [""]#修改 return self.class.level_quotes when :drops return self.actor.drops_quotes if self.actor.drops_quotes != nil && self.actor.drops_quotes != [""] #修改 return self.class.drops_quotes else return ["NOTEXT"] end end
QQ图片20150604185705.png (7.09 KB, 下载次数: 20)
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |