Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -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
4 changes: 2 additions & 2 deletions data-otservbr-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 All @@ -31,7 +31,7 @@ monster.Bestiary = {
monster.health = 2
monster.maxHealth = 2
monster.race = "venom"
monster.corpse = 4378
monster.corpse = 4993
monster.speed = 160
monster.manaCost = 0

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()