Skip to content

Commit

Permalink
Fixed Trainer Machine bug, after reload scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
elsongabriel committed Oct 24, 2023
1 parent 661b672 commit 9ff0567
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
local mType = Game.createMonsterType("Training Machine")
local monster = {}
monster.description = "Training Machine"

monster.description = "a training machine"
monster.experience = 0
monster.outfit = {
lookType = 1142,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ function trainerEntrance.onStepIn(creature, item, position, fromPosition)
end

calculatingRoom(creature.uid, config.firstRoomPosition, 0, 0)
Game.createMonster("training machine", creature:getPosition(), true, false)
Game.createMonster("training machine", creature:getPosition(), true, false)
Game.createMonster("Training Machine", creature:getPosition(), true, false)
Game.createMonster("Training Machine", creature:getPosition(), true, false)
return true
end

Expand Down

0 comments on commit 9ff0567

Please sign in to comment.