Removed unused BotSpellTypeRequiresLoS

This commit is contained in:
nytmyr
2024-12-06 11:38:59 -06:00
parent 912b6f0a28
commit 3b7edc032f
2 changed files with 0 additions and 40 deletions
-39
View File
@@ -3297,42 +3297,3 @@ bool IsPullingSpellType(uint16 spellType) {
return false;
}
bool BotSpellTypeRequiresLoS(uint16 spellType, uint8 cls) {
switch (spellType) {
case BotSpellTypes::Nuke:
case BotSpellTypes::Root:
case BotSpellTypes::Lifetap:
case BotSpellTypes::Snare:
case BotSpellTypes::DOT:
case BotSpellTypes::Dispel:
case BotSpellTypes::Mez:
//case BotSpellTypes::Charm: // commanded
case BotSpellTypes::Slow:
case BotSpellTypes::Debuff:
case BotSpellTypes::HateRedux:
//case BotSpellTypes::Fear: // commanded
case BotSpellTypes::Stun:
case BotSpellTypes::AENukes:
case BotSpellTypes::AERains:
case BotSpellTypes::AEMez:
case BotSpellTypes::AEStun:
case BotSpellTypes::AEDebuff:
case BotSpellTypes::AESlow:
case BotSpellTypes::AESnare:
//case BotSpellTypes::AEFear: // commanded
case BotSpellTypes::AEDispel:
case BotSpellTypes::AERoot:
case BotSpellTypes::AEDoT:
case BotSpellTypes::AELifetap:
case BotSpellTypes::PBAENuke:
// case BotSpellTypes::Lull: // commanded
case BotSpellTypes::HateLine:
case BotSpellTypes::AEHateLine:
return true;
default:
return false;
}
return false;
}
-1
View File
@@ -752,7 +752,6 @@ bool SpellTypeRequiresCastChecks(uint16 spellType);
bool SpellTypeRequiresAEChecks(uint16 spellType);
bool IsCommandedSpellType(uint16 spellType);
bool IsPullingSpellType(uint16 spellType);
bool BotSpellTypeRequiresLoS(uint16 spellType, uint8 cls);
// These should not be used to determine spell category..
// They are a graphical affects (effects?) index only