Implement AAs and harmtouch/layonhands to ^cast --- fix IsValidSpellRange

This commit is contained in:
nytmyr
2024-12-08 22:36:56 -06:00
parent a8f048c4e4
commit e9534e3f75
4 changed files with 242 additions and 176 deletions
+1 -1
View File
@@ -2566,7 +2566,7 @@ bool Mob::SpellFinished(uint16 spell_id, Mob *spell_target, CastingSlot slot, in
}
range = GetActSpellRange(spell_id, range);
if(IsClient() && IsIllusionSpell(spell_id) && (HasProjectIllusion())){
if(IsOfClientBot() && IsIllusionSpell(spell_id) && (HasProjectIllusion())){
range = 100;
}