mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 17:09:08 +00:00
fix(triggers): group heal occation
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
*/
|
||||
|
||||
#include "AoeHealValues.h"
|
||||
#include "PlayerbotAIConfig.h"
|
||||
#include "Playerbots.h"
|
||||
|
||||
uint8 AoeHealValue::Calculate()
|
||||
@@ -18,6 +19,8 @@ uint8 AoeHealValue::Calculate()
|
||||
range = sPlayerbotAIConfig->mediumHealth;
|
||||
else if (qualifier == "critical")
|
||||
range = sPlayerbotAIConfig->criticalHealth;
|
||||
else if (qualifier == "almost full")
|
||||
range = sPlayerbotAIConfig->almostFullHealth;
|
||||
|
||||
uint8 count = 0;
|
||||
Group::MemberSlotList const& groupSlot = group->GetMemberSlots();
|
||||
|
||||
Reference in New Issue
Block a user