diff --git a/common/ruletypes.h b/common/ruletypes.h index 86974af58..c113b4dda 100644 --- a/common/ruletypes.h +++ b/common/ruletypes.h @@ -811,6 +811,7 @@ RULE_INT(Bots, PercentChanceToCastMez, 75, "The chance for a bot to attempt to c RULE_INT(Bots, PercentChanceToCastSlow, 75, "The chance for a bot to attempt to cast the given spell type in combat. Default 75%.") RULE_INT(Bots, PercentChanceToCastDebuff, 75, "The chance for a bot to attempt to cast the given spell type in combat. Default 75%.") RULE_INT(Bots, PercentChanceToCastCure, 75, "The chance for a bot to attempt to cast the given spell type in combat. Default 75%.") +RULE_INT(Bots, PercentChanceToCastGroupCure, 75, "The chance for a bot to attempt to cast the given spell type in combat. Default 75%.") RULE_INT(Bots, PercentChanceToCastHateRedux, 75, "The chance for a bot to attempt to cast the given spell type in combat. Default 75%.") RULE_INT(Bots, PercentChanceToCastFear, 75, "The chance for a bot to attempt to cast the given spell type in combat. Default 75%.") RULE_INT(Bots, PercentChanceToCastOtherType, 90, "The chance for a bot to attempt to cast the remaining spell types in combat. Default 0-%.") diff --git a/zone/botspellsai.cpp b/zone/botspellsai.cpp index 79074fab0..b7a712757 100644 --- a/zone/botspellsai.cpp +++ b/zone/botspellsai.cpp @@ -2094,6 +2094,8 @@ uint8 Bot::GetChanceToCastBySpellType(uint16 spellType) return RuleI(Bots, PercentChanceToCastDebuff); case BotSpellTypes::Cure: return RuleI(Bots, PercentChanceToCastCure); + case BotSpellTypes::GroupCures: + return RuleI(Bots, PercentChanceToCastGroupCure); case BotSpellTypes::HateRedux: return RuleI(Bots, PercentChanceToCastHateRedux); case BotSpellTypes::Fear: