Spell Tracking

This commit is contained in:
neckkola
2022-01-20 19:49:51 -04:00
parent f26b491339
commit 58b1373fc0
2 changed files with 11 additions and 2 deletions
-1
View File
@@ -196,7 +196,6 @@ void Raid::AddBot(Bot* b, uint32 group, bool rleader, bool groupleader, bool loo
//SendGroupLeadershipAA(c, RAID_GROUPLESS); Is this needed for bots? //SendGroupLeadershipAA(c, RAID_GROUPLESS); Is this needed for bots?
SendRaidAddAll(b->GetName()); SendRaidAddAll(b->GetName());
members[GetPlayerIndex(b->GetName())].SentToBotOwner = true; //Mitch indicates that the BotOwner has received this raid info already.
b->SetRaidGrouped(true); b->SetRaidGrouped(true);
//SendRaidMOTD(b->GetOwner()->CastToClient()); //SendRaidMOTD(b->GetOwner()->CastToClient());
+11 -1
View File
@@ -88,7 +88,15 @@ struct RaidMember{
bool IsGroupLeader; bool IsGroupLeader;
bool IsRaidLeader; bool IsRaidLeader;
bool IsLooter; bool IsLooter;
bool SentToBotOwner; #ifdef BOTS
bool IsGroupHealer;
bool IsRaidSlower;
bool IsRaidMainAssistOne;
bool IsRaidMainAssistTwo;
bool IsRaidMainTank;
bool IsRaidOffTankOne;
bool IsRaidOffTankTwo;
#endif
}; };
struct GroupMentor { struct GroupMentor {
@@ -113,8 +121,10 @@ public:
bool IsRaid() { return true; } bool IsRaid() { return true; }
void AddMember(Client *c, uint32 group = 0xFFFFFFFF, bool rleader=false, bool groupleader=false, bool looter=false); void AddMember(Client *c, uint32 group = 0xFFFFFFFF, bool rleader=false, bool groupleader=false, bool looter=false);
#ifdef BOTS
void AddBot(Bot* b, uint32 group = 0xFFFFFFFF, bool rleader=false, bool groupleader=false, bool looter=false); //Mitch void AddBot(Bot* b, uint32 group = 0xFFFFFFFF, bool rleader=false, bool groupleader=false, bool looter=false); //Mitch
void RaidBotGroupSay(Bot* b, uint8 language, uint8 lang_skill, const char* msg, ...); //Mitch void RaidBotGroupSay(Bot* b, uint8 language, uint8 lang_skill, const char* msg, ...); //Mitch
#endif
void RemoveMember(const char *c); void RemoveMember(const char *c);
void DisbandRaid(); void DisbandRaid();
void MoveMember(const char *name, uint32 newGroup); void MoveMember(const char *name, uint32 newGroup);