public TriggerSpellProcHandlerTemplate(Spell spell, ProcTriggerFlags triggerFlags,
                                        ProcValidator validator = null, ProcHitFlags hitFlags = ProcHitFlags.None, uint procChance = 100,
                                        int stackCount          = 0)
     : base(triggerFlags, hitFlags, (ProcCallback)null, validator, procChance, stackCount)
 {
     this.Spell      = spell;
     this.ProcAction = new ProcCallback(this.ProcSpell);
 }
 public TriggerSpellProcHandlerTemplate(Spell spell, ProcTriggerFlags triggerFlags,
                                        ProcValidator validator = null, ProcHitFlags hitFlags = ProcHitFlags.None, uint procChance = 100,
                                        int stackCount          = 0)
     : base(triggerFlags, hitFlags, null, validator, procChance, stackCount)
 {
     Spell      = spell;
     ProcAction = ProcSpell;
 }
Esempio n. 3
0
 public ProcHandlerTemplate(ProcTriggerFlags triggerFlags, ProcHitFlags hitFlags, ProcCallback procAction, ProcValidator validator = null, uint procChance = 100u, int stackCount = 0)
 {
     ProcTriggerFlags = triggerFlags;
     ProcHitFlags     = hitFlags;
     ProcChance       = procChance;
     Validator        = validator;
     ProcAction       = procAction;
     m_stackCount     = stackCount;
 }
Esempio n. 4
0
		public TriggerSpellProcHandlerTemplate(Spell spell, ProcTriggerFlags triggerFlags, ProcValidator validator = null, ProcHitFlags hitFlags = ProcHitFlags.None, uint procChance = 100u, int stackCount = 0)
			: base(triggerFlags, hitFlags, null, validator, procChance, stackCount)
		{
			Spell = spell;
			ProcAction = ProcSpell;
		}
Esempio n. 5
0
		public ProcHandlerTemplate(ProcTriggerFlags triggerFlags, ProcHitFlags hitFlags, ProcCallback procAction, ProcValidator validator = null, uint procChance = 100u, int stackCount = 0)
		{
			ProcTriggerFlags = triggerFlags;
			ProcHitFlags = hitFlags;
			ProcChance = procChance;
			Validator = validator;
			ProcAction = procAction;
			m_stackCount = stackCount;
		}
Esempio n. 6
0
		public TriggerSpellProcHandler(ProcTriggerFlags triggerFlags, ProcValidator validator, Spell spell, uint procChance, int stackCount)
			: this(triggerFlags, validator, spell, procChance)
		{
			StackCount = stackCount;
		}
Esempio n. 7
0
		public TriggerSpellProcHandler(ProcTriggerFlags triggerFlags, ProcValidator validator, Spell spell, uint procChance)
			: this(triggerFlags, validator, spell)
		{
			ProcChance = procChance;
		}
Esempio n. 8
0
		public TriggerSpellProcHandler(ProcTriggerFlags triggerFlags, ProcValidator validator, Spell spell) :
			this(validator, spell)
		{
			ProcTriggerFlags = triggerFlags;
		}
Esempio n. 9
0
		public TriggerSpellProcHandler(ProcValidator validator, Spell spell)
		{
			Validator = validator;
			ProcAction = ProcSpell;
			Spell = spell;
		}
Esempio n. 10
0
		public ProcHandlerTemplate(ProcTriggerFlags triggerFlags, ProcValidator validator, ProcCallback procAction, uint procChance, int stackCount)
		{
			ProcTriggerFlags = triggerFlags;
			Validator = validator;
			ProcChance = procChance;
			ProcAction = procAction;
			m_stackCount = stackCount;
		}
Esempio n. 11
0
		public ProcHandlerTemplate(ProcTriggerFlags triggerFlags, ProcValidator validator, ProcCallback procAction, uint procChance)
			: this(triggerFlags, validator, procAction, procChance, 0)
		{
		}
Esempio n. 12
0
		public ProcHandlerTemplate(ProcTriggerFlags triggerFlags, ProcValidator validator, ProcCallback procAction)
			: this(triggerFlags, validator, procAction, 100)
		{
		}
Esempio n. 13
0
		public ProcHandlerTemplate(ProcValidator validator, ProcCallback procAction)
			: this(ProcTriggerFlags.All, validator, procAction)
		{
		}