Skip to content

Commit

Permalink
fix: eradicator name
Browse files Browse the repository at this point in the history
  • Loading branch information
dudantas committed Aug 20, 2023
1 parent 4fc8da1 commit 7ea8f03
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
local mType = Game.createMonsterType("Eradicator1")
local mType = Game.createMonsterType("Eradicator")
local monster = {}

monster.name = "Eradicator"
monster.description = "Eradicator"
monster.experience = 50000
monster.outfit = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function heartDestructionEradicator.onUse(player, item, fromPosition, itemEx, to
Game.createMonster("Spark of Destruction", {x = 32305, y = 31287, z = 14}, false, true)
Game.createMonster("Spark of Destruction", {x = 32312, y = 31287, z = 14}, false, true)
Game.createMonster("Spark of Destruction", {x = 32314, y = 31282, z = 14}, false, true)
Game.createMonster("Eradicator1", {x = 32309, y = 31283, z = 14}, false, true)
Game.createMonster("Eradicator", {x = 32309, y = 31283, z = 14}, false, true)

local vortex = Tile({x = 32318, y = 31284, z = 14}):getItemById(23482)
if vortex then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ function eradicatorTransform.onThink(creature)

creature:remove()

local monster = Game.createMonster("Eradicator1", pos, false, true)
local monster = Game.createMonster("Eradicator", pos, false, true)
if not monster then
Spdlog.error("Cannot create Eradicator1")
Spdlog.error("Cannot create Eradicator")
return false
end
monster:addHealth(-monster:getHealth() + health, COMBAT_PHYSICALDAMAGE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ local bosses = {
toPos = {x = 32220, y = 31260, z = 14},
storage = 14328
},
["eradicator1"] = {
["eradicator"] = {
tile = {x = 32318, y = 31284, z = 14},
actionId = 14325,
fromPos = {x = 32297, y = 31272, z = 14},
Expand Down

0 comments on commit 7ea8f03

Please sign in to comment.