From 5064995f9010c3d18a83405744eb791c40c097f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Paulo?= Date: Sat, 1 Feb 2025 18:57:24 -0300 Subject: [PATCH] * Fix grand master oberon immunity and butterfly's racei --- .../quests/the_explorer_society/blue_butterfly.lua | 2 +- .../quests/the_explorer_society/purple_butterfly.lua | 2 +- .../quests/the_explorer_society/yellow_butterfly.lua | 2 +- .../the_secret_library/bosses/grand_master_oberon.lua | 1 - data-global/monster/vermins/butterfly.lua | 2 +- .../the_secret_library_quest/creaturescripts_kill.lua | 10 ---------- 6 files changed, 4 insertions(+), 15 deletions(-) diff --git a/data-global/monster/quests/the_explorer_society/blue_butterfly.lua b/data-global/monster/quests/the_explorer_society/blue_butterfly.lua index 3893adff..bf2e1f56 100644 --- a/data-global/monster/quests/the_explorer_society/blue_butterfly.lua +++ b/data-global/monster/quests/the_explorer_society/blue_butterfly.lua @@ -14,7 +14,7 @@ monster.outfit = { lookMount = 0, } -monster.raceId = 213 +monster.raceId = 227 monster.Bestiary = { class = "Vermin", race = BESTY_RACE_VERMIN, diff --git a/data-global/monster/quests/the_explorer_society/purple_butterfly.lua b/data-global/monster/quests/the_explorer_society/purple_butterfly.lua index 4b718581..d9f6fb8b 100644 --- a/data-global/monster/quests/the_explorer_society/purple_butterfly.lua +++ b/data-global/monster/quests/the_explorer_society/purple_butterfly.lua @@ -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 diff --git a/data-global/monster/quests/the_explorer_society/yellow_butterfly.lua b/data-global/monster/quests/the_explorer_society/yellow_butterfly.lua index b5e88d7f..83413057 100644 --- a/data-global/monster/quests/the_explorer_society/yellow_butterfly.lua +++ b/data-global/monster/quests/the_explorer_society/yellow_butterfly.lua @@ -14,7 +14,7 @@ monster.outfit = { lookMount = 0, } -monster.raceId = 227 +monster.raceId = 235 monster.Bestiary = { class = "Vermin", race = BESTY_RACE_VERMIN, diff --git a/data-global/monster/quests/the_secret_library/bosses/grand_master_oberon.lua b/data-global/monster/quests/the_secret_library/bosses/grand_master_oberon.lua index 5de851ac..82afa4f6 100644 --- a/data-global/monster/quests/the_secret_library/bosses/grand_master_oberon.lua +++ b/data-global/monster/quests/the_secret_library/bosses/grand_master_oberon.lua @@ -27,7 +27,6 @@ monster.manaCost = 0 monster.events = { "killingLibrary", - "oberonImmune", } monster.changeTarget = { diff --git a/data-global/monster/vermins/butterfly.lua b/data-global/monster/vermins/butterfly.lua index 9ea18cb0..563bb86e 100644 --- a/data-global/monster/vermins/butterfly.lua +++ b/data-global/monster/vermins/butterfly.lua @@ -13,7 +13,7 @@ monster.outfit = { lookMount = 0, } -monster.raceId = 213 +monster.raceId = 227 monster.Bestiary = { class = "Vermin", race = BESTY_RACE_VERMIN, diff --git a/data-global/scripts/quests/the_secret_library_quest/creaturescripts_kill.lua b/data-global/scripts/quests/the_secret_library_quest/creaturescripts_kill.lua index 5a3bde3b..c7e88237 100644 --- a/data-global/scripts/quests/the_secret_library_quest/creaturescripts_kill.lua +++ b/data-global/scripts/quests/the_secret_library_quest/creaturescripts_kill.lua @@ -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()