BossHP: Change event names for hlstats.

This commit is contained in:
zaCade 2018-12-02 16:11:07 +01:00
parent e9b5cf8f9c
commit 9c5312f11c

View File

@ -187,17 +187,20 @@ public void OnBossKilled(any Boss, any Config, int reason)
if (iSortedList[0][0])
{
Format(sBuffer, sizeof(sBuffer), "%s\n1. %N - %d hits", sBuffer, iSortedList[0][0], iSortedList[0][1]);
LogPlayerEvent(iSortedList[0][0], "triggered", "most_boss_damage");
LogPlayerEvent(iSortedList[0][0], "triggered", "ze_boss_damage_first");
}
if (iSortedList[1][0])
{
Format(sBuffer, sizeof(sBuffer), "%s\n2. %N - %d hits", sBuffer, iSortedList[1][0], iSortedList[1][1]);
LogPlayerEvent(iSortedList[1][0], "triggered", "second_most_boss_damage");
LogPlayerEvent(iSortedList[1][0], "triggered", "ze_boss_damage_second");
}
if (iSortedList[2][0])
{
Format(sBuffer, sizeof(sBuffer), "%s\n3. %N - %d hits", sBuffer, iSortedList[2][0], iSortedList[2][1]);
LogPlayerEvent(iSortedList[2][0], "triggered", "third_most_boss_damage");
LogPlayerEvent(iSortedList[2][0], "triggered", "ze_boss_damage_third");
}
Format(sBuffer, sizeof(sBuffer), "%s\n*************************", sBuffer);