Add more logic for necros/shaman for default heal thresholds due to lich and canni

This commit is contained in:
nytmyr
2025-01-31 16:45:20 -06:00
parent 660cf91297
commit fef8c623ff
2 changed files with 37 additions and 4 deletions
+30 -2
View File
@@ -12989,6 +12989,20 @@ uint8 Bot::GetDefaultSpellMaxThreshold(uint16 spell_type, uint8 stance) {
}
case BotSpellTypes::GroupHeals:
case BotSpellTypes::RegularHeal:
if (bot_class == Class::Necromancer || (bot_class == Class::Shaman && !GetSpellHold(BotSpellTypes::InCombatBuff))) {
return 60;
}
switch (stance) {
case Stance::AEBurn:
case Stance::Burn:
case Stance::Aggressive:
return 70;
case Stance::Efficient:
return 50;
default:
return 60;
}
case BotSpellTypes::PetRegularHeals:
switch (stance) {
case Stance::AEBurn:
@@ -13002,6 +13016,20 @@ uint8 Bot::GetDefaultSpellMaxThreshold(uint16 spell_type, uint8 stance) {
}
case BotSpellTypes::CompleteHeal:
case BotSpellTypes::GroupCompleteHeals:
if (bot_class == Class::Necromancer || (bot_class == Class::Shaman && !GetSpellHold(BotSpellTypes::InCombatBuff))) {
return 55;
}
switch (stance) {
case Stance::AEBurn:
case Stance::Burn:
case Stance::Aggressive:
return 90;
case Stance::Efficient:
return 65;
default:
return 80;
}
case BotSpellTypes::PetCompleteHeals:
switch (stance) {
case Stance::AEBurn:
@@ -13047,8 +13075,8 @@ uint8 Bot::GetDefaultSpellMaxThreshold(uint16 spell_type, uint8 stance) {
case BotSpellTypes::GroupHoTHeals:
case BotSpellTypes::HoTHeals:
case BotSpellTypes::PetHoTHeals:
if (bot_class == Class::Necromancer || bot_class == Class::Shaman) {
return 60;
if (bot_class == Class::Necromancer || (bot_class == Class::Shaman && !GetSpellHold(BotSpellTypes::InCombatBuff))) {
return 70;
}
else {
switch (stance) {
+7 -2
View File
@@ -403,12 +403,17 @@ uint8 Client::GetDefaultSpellMaxThreshold(uint16 spell_type) {
case BotSpellTypes::CompleteHeal:
case BotSpellTypes::GroupCompleteHeals:
case BotSpellTypes::PetCompleteHeals:
return 80;
if (client_class == Class::Necromancer || client_class == Class::Shaman) {
return 55;
}
else {
return 80;
}
case BotSpellTypes::GroupHoTHeals:
case BotSpellTypes::HoTHeals:
case BotSpellTypes::PetHoTHeals:
if (client_class == Class::Necromancer || client_class == Class::Shaman) {
return 60;
return 70;
}
else {
return 90;