Skip to content

Commit

Permalink
* Fix grand master oberon immunity and butterfly's racei
Browse files Browse the repository at this point in the history
  • Loading branch information
jprzimba committed Feb 1, 2025
1 parent c3d6ff6 commit 5064995
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ monster.outfit = {
lookMount = 0,
}

monster.raceId = 213
monster.raceId = 227
monster.Bestiary = {
class = "Vermin",
race = BESTY_RACE_VERMIN,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ monster.Bestiary = {
monster.health = 2
monster.maxHealth = 2
monster.race = "venom"
monster.corpse = 4992
monster.corpse = 4993
monster.speed = 160
monster.manaCost = 0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ monster.outfit = {
lookMount = 0,
}

monster.raceId = 227
monster.raceId = 235
monster.Bestiary = {
class = "Vermin",
race = BESTY_RACE_VERMIN,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ monster.manaCost = 0

monster.events = {
"killingLibrary",
"oberonImmune",
}

monster.changeTarget = {
Expand Down
2 changes: 1 addition & 1 deletion data-global/monster/vermins/butterfly.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ monster.outfit = {
lookMount = 0,
}

monster.raceId = 213
monster.raceId = 227
monster.Bestiary = {
class = "Vermin",
race = BESTY_RACE_VERMIN,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,3 @@ function creaturescripts_library_bosses.onDeath(creature, corpse, killer, mostDa
end

creaturescripts_library_bosses:register()

local creaturescripts_library_bosses_oberon = CreatureEvent("oberonImmune")

function creaturescripts_library_bosses_oberon.onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin)
primaryDamage = 0
secondaryDamage = 0
return primaryDamage, primaryType, secondaryDamage, secondaryType
end

creaturescripts_library_bosses_oberon:register()

0 comments on commit 5064995

Please sign in to comment.