mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 05:37:17 +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
@@ -2316,7 +2316,7 @@ bool Client::CheckIncreaseSkill(SkillType skillid, Mob *against_who, int chancem
|
||||
|
||||
if(against_who)
|
||||
{
|
||||
if(against_who->SpecAttacks[IMMUNE_AGGRO] || against_who->IsClient() ||
|
||||
if(against_who->GetSpecialAbility(IMMUNE_AGGRO) || against_who->IsClient() ||
|
||||
GetLevelCon(against_who->GetLevel()) == CON_GREEN)
|
||||
{
|
||||
//false by default
|
||||
|
||||
Reference in new issue
Block a user