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:
+3
@@ -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++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user