fix(DB/Creature): immunities, spawn and equipment of Koltira Deathweaver (#25261)

This commit is contained in:
sogladev 2026-03-27 14:02:16 +01:00 committed by GitHub
parent 520d4e0436
commit 7bc19c9bcd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,8 @@
--
DELETE FROM `creature_equip_template` WHERE (`CreatureID` = 28912);
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `ItemID2`, `ItemID3`, `VerifiedBuild`) VALUES
(28912, 1, 38633, 0, 0, 42010);
UPDATE `creature` SET `spawntimesecs` = 60 WHERE (`id1` = 28912) AND (`guid` IN (130354));
UPDATE `creature_template` SET `CreatureImmunitiesId` = -93 WHERE (`entry` = 28912);

View file

@ -92,6 +92,7 @@ public:
me->m_Events.KillAllEvents(false);
me->SetUnitFlag(UNIT_FLAG_IMMUNE_TO_NPC);
me->setActive(false);
SetEquipmentSlots(true);
}
void StartEvent()
@ -244,6 +245,8 @@ public:
Talk(SAY_BREAKOUT2);
DoCastSelf(SPELL_ANTI_MAGIC_ZONE);
break;
default:
break;
}
}