mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Scripts/Zangarmarsh: Removes empty gossip_text that resulted in NPCs saying blank text to players after buffing them
Closes #12697 Closes #16300
This commit is contained in:
1
sql/updates/world/2016_01_19_05_world.sql
Normal file
1
sql/updates/world/2016_01_19_05_world.sql
Normal file
@@ -0,0 +1 @@
|
||||
DELETE FROM `creature_text` WHERE `entry` IN (17900,17901) AND `BroadcastTextId`=8329;
|
||||
@@ -48,8 +48,6 @@ EndContentData */
|
||||
|
||||
enum AshyenAndKeleth
|
||||
{
|
||||
GOSSIP_REWARD_BLESS = 0,
|
||||
|
||||
NPC_ASHYEN = 17900,
|
||||
NPC_KELETH = 17901,
|
||||
|
||||
@@ -117,7 +115,6 @@ public:
|
||||
if (spell)
|
||||
{
|
||||
creature->CastSpell(player, spell, true);
|
||||
creature->AI()->Talk(GOSSIP_REWARD_BLESS);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -145,7 +142,6 @@ public:
|
||||
if (spell)
|
||||
{
|
||||
creature->CastSpell(player, spell, true);
|
||||
creature->AI()->Talk(GOSSIP_REWARD_BLESS);
|
||||
}
|
||||
}
|
||||
player->CLOSE_GOSSIP_MENU();
|
||||
|
||||
Reference in New Issue
Block a user