Add rule Spells:NPCInnateProcOverride, defaults to true

This commit is contained in:
Akkadius
2016-09-01 01:05:06 -05:00
parent 159ba9f487
commit ec87656d58
2 changed files with 4 additions and 1 deletions
+3 -1
View File
@@ -2364,7 +2364,9 @@ bool NPC::AI_AddNPCSpells(uint32 iDBSpellsID) {
if (IsValidSpell(attack_proc_spell)) {
AddProcToWeapon(attack_proc_spell, true, proc_chance);
innate_proc_spell_id = attack_proc_spell;
if(RuleB(Spells, NPCInnateProcOverride))
innate_proc_spell_id = attack_proc_spell;
}
if (IsValidSpell(range_proc_spell))