mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 02:27:21 +00:00
Replaced npcspecialatk with special_attacks, needs more testing also gotta export new api for it as I can't remove the legacy one. Too many quests rely on the legacy functionality.
This commit is contained in:
1 parent
0c675c33e2
commit
63d678ce29
32 files changed
+355
-663
No files matched your search
+1
-1
@@ -517,7 +517,7 @@ bool Mob::IsAttackAllowed(Mob *target, bool isSpellAttack)
|
||||
if(this == target) // you can attack yourself
|
||||
return true;
|
||||
|
||||
if(target->SpecAttacks[NO_HARM_FROM_CLIENT]){
|
||||
if(target->GetSpecialAbility(NO_HARM_FROM_CLIENT)){
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user