mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
fix(DB/Creature): Tamed Kodo - Remove gosisp flag. (#15165)
* fix(DB/Creature): Tamed Kodo - Remove gosisp flag. * fix worldserver warning (assigned gossip, but no flag) also typo * Use &~
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
-- Tamed Kodo - Remove gossip flag & gosip menu.
|
||||||
|
UPDATE `creature_template` SET `npcflag` = `npcflag`&~(1),`gossip_menu_id` = 0 WHERE `entry` = 11627;
|
||||||
@@ -427,6 +427,8 @@ enum DyingKodo
|
|||||||
|
|
||||||
QUEST_KODO = 5561,
|
QUEST_KODO = 5561,
|
||||||
|
|
||||||
|
NPC_TEXT_KODO = 4449, // MenuID 3650
|
||||||
|
|
||||||
NPC_SMEED = 11596,
|
NPC_SMEED = 11596,
|
||||||
NPC_AGED_KODO = 4700,
|
NPC_AGED_KODO = 4700,
|
||||||
NPC_DYING_KODO = 4701,
|
NPC_DYING_KODO = 4701,
|
||||||
@@ -498,7 +500,7 @@ public:
|
|||||||
player->RemoveAurasDueToSpell(SPELL_KODO_KOMBO_PLAYER_BUFF);
|
player->RemoveAurasDueToSpell(SPELL_KODO_KOMBO_PLAYER_BUFF);
|
||||||
}
|
}
|
||||||
|
|
||||||
SendGossipMenuFor(player, player->GetGossipTextId(creature), creature->GetGUID());
|
SendGossipMenuFor(player, NPC_TEXT_KODO, creature->GetGUID());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user