mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 19:07:16 +00:00
NPC innate procs overwrite TargetType to ST_Target
This commit is contained in:
1 parent
e1a02455d8
commit
039e0fbb83
6 files changed
+15
-5
No files matched your search
+3
-1
@@ -2362,8 +2362,10 @@ bool NPC::AI_AddNPCSpells(uint32 iDBSpellsID) {
|
||||
return a.priority > b.priority;
|
||||
});
|
||||
|
||||
if (IsValidSpell(attack_proc_spell))
|
||||
if (IsValidSpell(attack_proc_spell)) {
|
||||
AddProcToWeapon(attack_proc_spell, true, proc_chance);
|
||||
innate_proc_spell_id = attack_proc_spell;
|
||||
}
|
||||
|
||||
if (IsValidSpell(range_proc_spell))
|
||||
AddRangedProc(range_proc_spell, (rproc_chance + 100));
|
||||
|
||||
Reference in new issue
Block a user