mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 21:48:25 +00:00
Remove SpellTypeRequiresCastChecks
This commit is contained in:
@@ -3116,31 +3116,6 @@ bool SpellTypeRequiresTarget(uint16 spellType, uint16 cls) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool SpellTypeRequiresCastChecks(uint16 spellType) {
|
||||
switch (spellType) {
|
||||
case BotSpellTypes::AEDebuff:
|
||||
case BotSpellTypes::AEDispel:
|
||||
case BotSpellTypes::AEDoT:
|
||||
case BotSpellTypes::AEFear:
|
||||
case BotSpellTypes::AELifetap:
|
||||
case BotSpellTypes::AEMez:
|
||||
case BotSpellTypes::AENukes:
|
||||
case BotSpellTypes::AERains:
|
||||
case BotSpellTypes::AERoot:
|
||||
case BotSpellTypes::AESlow:
|
||||
case BotSpellTypes::AESnare:
|
||||
case BotSpellTypes::AEStun:
|
||||
case BotSpellTypes::PBAENuke:
|
||||
case BotSpellTypes::Mez:
|
||||
case BotSpellTypes::SummonCorpse:
|
||||
return false;
|
||||
default:
|
||||
return true;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool SpellTypeRequiresAEChecks(uint16 spellType) {
|
||||
switch (spellType) {
|
||||
case BotSpellTypes::AEMez:
|
||||
|
||||
@@ -748,7 +748,6 @@ bool IsClientBotSpellType(uint16 spellType);
|
||||
bool IsHealBotSpellType(uint16 spellType);
|
||||
bool SpellTypeRequiresLoS(uint16 spellType, uint16 cls = 0);
|
||||
bool SpellTypeRequiresTarget(uint16 spellType, uint16 cls = 0);
|
||||
bool SpellTypeRequiresCastChecks(uint16 spellType);
|
||||
bool SpellTypeRequiresAEChecks(uint16 spellType);
|
||||
bool IsCommandedSpellType(uint16 spellType);
|
||||
bool IsPullingSpellType(uint16 spellType);
|
||||
|
||||
Reference in New Issue
Block a user