fix(Scripts/BRD): Emperor should not yell when dead. (#12046)

Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
This commit is contained in:
temperrr
2022-06-13 14:01:50 +02:00
committed by GitHub
parent 8e7c4fa226
commit d3b381c238
@@ -79,9 +79,12 @@ public:
if (data >= 20 * (hasYelled + 1)) // map the 5 yells to %. Yell after 20,40,60,80,100%
{
if (hasYelled < 5)
{
if (me->IsAlive())
{
Talk(SenatorYells[hasYelled]);
}
}
hasYelled++;
}
}