mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 18:46:37 +00:00
Implement more commanded types properly, move shadownight hate to hateline type...
Add incapacitated checks to casting logic and checks. Add candocombat zone check, summon other's corpse for bot, in/out combat spell checks, mute checks, level restriction
This commit is contained in:
+4
-1
@@ -708,6 +708,7 @@ namespace BotSpellTypes
|
||||
constexpr uint16 ResistBuffs = 52;
|
||||
constexpr uint16 PetDamageShields = 53;
|
||||
constexpr uint16 PetResistBuffs = 54;
|
||||
constexpr uint16 HateLine = 55;
|
||||
|
||||
// Command Spell Types
|
||||
constexpr uint16 Teleport = 100; // this is handled by ^depart so uses other logic
|
||||
@@ -725,7 +726,7 @@ namespace BotSpellTypes
|
||||
constexpr uint16 SummonCorpse = 112;
|
||||
|
||||
constexpr uint16 START = BotSpellTypes::Nuke; // Do not remove or change this
|
||||
constexpr uint16 END = BotSpellTypes::PetResistBuffs; // Do not remove this, increment as needed
|
||||
constexpr uint16 END = BotSpellTypes::HateLine; // Do not remove this, increment as needed
|
||||
constexpr uint16 COMMANDED_START = BotSpellTypes::Lull; // Do not remove or change this
|
||||
constexpr uint16 COMMANDED_END = BotSpellTypes::SummonCorpse; // Do not remove this, increment as needed
|
||||
}
|
||||
@@ -747,6 +748,8 @@ 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);
|
||||
|
||||
// These should not be used to determine spell category..
|
||||
|
||||
Reference in New Issue
Block a user