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:
UltraNix
2022-12-11 14:53:55 +01:00
committed by GitHub
parent a2ffce3e51
commit 189afd1409
2 changed files with 5 additions and 6 deletions

View File

@@ -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;

View File

@@ -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);