Implement spell AI pulling, fix throw stone

This commit is contained in:
nytmyr
2024-12-02 07:32:30 -06:00
parent ead31d2cd4
commit 1af85092f7
5 changed files with 62 additions and 15 deletions
+19
View File
@@ -3279,6 +3279,25 @@ bool IsCommandedSpellType(uint16 spellType) {
return false;
}
bool IsPullingSpellType(uint16 spellType) {
switch (spellType) {
case BotSpellTypes::Nuke:
case BotSpellTypes::Lifetap:
case BotSpellTypes::Snare:
case BotSpellTypes::DOT:
case BotSpellTypes::Dispel:
case BotSpellTypes::Slow:
case BotSpellTypes::Debuff:
case BotSpellTypes::Stun:
case BotSpellTypes::HateLine:
return true;
default:
return false;
}
return false;
}
bool BotSpellTypeRequiresLoS(uint16 spellType, uint8 cls) {
switch (spellType) {
case BotSpellTypes::Nuke: