mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-28 15:57:58 +00:00
cls cleanup
This commit is contained in:
+10
-10
@@ -2791,7 +2791,7 @@ bool IsLichSpell(uint16 spell_id)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool IsBotSpellTypeDetrimental(uint16 spellType, uint8 cls) {
|
||||
bool IsBotSpellTypeDetrimental(uint16 spellType) {
|
||||
switch (spellType) {
|
||||
case BotSpellTypes::Nuke:
|
||||
case BotSpellTypes::Root:
|
||||
@@ -2831,7 +2831,7 @@ bool IsBotSpellTypeDetrimental(uint16 spellType, uint8 cls) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool IsBotSpellTypeBeneficial(uint16 spellType, uint8 cls) {
|
||||
bool IsBotSpellTypeBeneficial(uint16 spellType) {
|
||||
switch (spellType) {
|
||||
case BotSpellTypes::RegularHeal:
|
||||
case BotSpellTypes::CompleteHeal:
|
||||
@@ -2999,12 +2999,12 @@ bool IsGroupBotSpellType(uint16 spellType) {
|
||||
|
||||
bool IsGroupTargetOnlyBotSpellType(uint16 spellType) {
|
||||
switch (spellType) {
|
||||
case BotSpellTypes::GroupCures:
|
||||
case BotSpellTypes::GroupCompleteHeals:
|
||||
case BotSpellTypes::GroupHeals:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
case BotSpellTypes::GroupCures:
|
||||
case BotSpellTypes::GroupCompleteHeals:
|
||||
case BotSpellTypes::GroupHeals:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
||||
return false;
|
||||
@@ -3082,7 +3082,7 @@ bool IsHealBotSpellType(uint16 spellType) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool SpellTypeRequiresLoS(uint16 spellType, uint16 cls) {
|
||||
bool SpellTypeRequiresLoS(uint16 spellType) {
|
||||
if (IsAEBotSpellType(spellType)) { // These gather their own targets later
|
||||
return false;
|
||||
}
|
||||
@@ -3110,7 +3110,7 @@ bool SpellTypeRequiresLoS(uint16 spellType, uint16 cls) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool SpellTypeRequiresTarget(uint16 spellType, uint16 cls) {
|
||||
bool SpellTypeRequiresTarget(uint16 spellType) {
|
||||
switch (spellType) {
|
||||
case BotSpellTypes::Pet:
|
||||
case BotSpellTypes::Succor:
|
||||
|
||||
+4
-4
@@ -737,8 +737,8 @@ const uint32 SPELL_TYPES_DETRIMENTAL = (SpellType_Nuke | SpellType_Root | SpellT
|
||||
const uint32 SPELL_TYPES_BENEFICIAL = (SpellType_Heal | SpellType_Buff | SpellType_Escape | SpellType_Pet | SpellType_InCombatBuff | SpellType_Cure | SpellType_HateRedux | SpellType_InCombatBuffSong | SpellType_OutOfCombatBuffSong | SpellType_PreCombatBuff | SpellType_PreCombatBuffSong);
|
||||
const uint32 SPELL_TYPES_INNATE = (SpellType_Nuke | SpellType_Lifetap | SpellType_DOT | SpellType_Dispel | SpellType_Mez | SpellType_Slow | SpellType_Debuff | SpellType_Charm | SpellType_Root);
|
||||
|
||||
bool IsBotSpellTypeDetrimental (uint16 spellType, uint8 cls = 0);
|
||||
bool IsBotSpellTypeBeneficial (uint16 spellType, uint8 cls = 0);
|
||||
bool IsBotSpellTypeDetrimental (uint16 spellType);
|
||||
bool IsBotSpellTypeBeneficial (uint16 spellType);
|
||||
bool IsBotSpellTypeOtherBeneficial(uint16 spellType);
|
||||
bool IsBotSpellTypeInnate (uint16 spellType);
|
||||
bool IsAEBotSpellType(uint16 spellType);
|
||||
@@ -747,8 +747,8 @@ bool IsGroupTargetOnlyBotSpellType(uint16 spellType);
|
||||
bool IsPetBotSpellType(uint16 spellType);
|
||||
bool IsClientBotSpellType(uint16 spellType);
|
||||
bool IsHealBotSpellType(uint16 spellType);
|
||||
bool SpellTypeRequiresLoS(uint16 spellType, uint16 cls = 0);
|
||||
bool SpellTypeRequiresTarget(uint16 spellType, uint16 cls = 0);
|
||||
bool SpellTypeRequiresLoS(uint16 spellType);
|
||||
bool SpellTypeRequiresTarget(uint16 spellType);
|
||||
bool SpellTypeRequiresAEChecks(uint16 spellType);
|
||||
bool IsCommandedSpellType(uint16 spellType);
|
||||
bool IsPullingSpellType(uint16 spellType);
|
||||
|
||||
Reference in New Issue
Block a user