mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 07:18:37 +00:00
NPC innate procs overwrite TargetType to ST_Target
This commit is contained in:
+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