mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-26 07:06:23 +00:00
fix(Scripts/Instances): Fixed text during "Opening the Dark Portal" i… (#13872)
fix(Scripts/Instances): Fixed text during "Opening the Dark Portal" on Black Morass. Fixes #1999
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
--
|
||||
UPDATE `creature_text` SET `text`='The shield is nearly gone! All that I have worked for is in danger!', `Sound`=10439, `BroadcastTextId`=16795 WHERE `CreatureID`=15608 AND `GroupId`=2;
|
||||
UPDATE `creature_text` SET `text`='Champions! My shield grows weak!', `Sound`=10437, `BroadcastTextId`=16792 WHERE `CreatureID`=15608 AND `GroupId`=4;
|
||||
@@ -23,11 +23,7 @@
|
||||
|
||||
enum medivhSays
|
||||
{
|
||||
SAY_WEAK75 = 0,
|
||||
SAY_WEAK50 = 1,
|
||||
SAY_WEAK25 = 2,
|
||||
SAY_ENTER = 3,
|
||||
SAY_INTRO = 4,
|
||||
SAY_ENTER = 0,
|
||||
SAY_DEATH = 5,
|
||||
SAY_WIN = 6,
|
||||
SAY_ORCS_ENTER = 7,
|
||||
@@ -211,7 +207,7 @@ public:
|
||||
case EVENT_CHECK_HEALTH_75:
|
||||
if (instance && instance->GetData(DATA_SHIELD_PERCENT) <= eventId * 25)
|
||||
{
|
||||
Talk(eventId - 1);
|
||||
Talk(eventId + 1);
|
||||
break;
|
||||
}
|
||||
events.ScheduleEvent(eventId, 500);
|
||||
|
||||
Reference in New Issue
Block a user