NPC trainers' end of battle text is now read directly from the trainer object rather than extracted to an array

This commit is contained in:
Maruno17
2022-05-17 22:28:29 +01:00
parent cf338b3a6a
commit e12b6fde1d
7 changed files with 26 additions and 33 deletions

View File

@@ -180,10 +180,12 @@ end
class NPCTrainer < Trainer
attr_accessor :items
attr_accessor :lose_text
attr_accessor :win_text
def initialize(name, trainer_type)
super
@items = []
@lose_text = nil
@win_text = nil
end
end