mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user