Example #1
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;
 }
Example #2
0
 public ProcHandlerTemplate(ProcTriggerFlags triggerFlags, ProcHitFlags hitFlags, ProcCallback procAction,
                            uint procChance = 100, int stackCount = 0)
 {
     this.ProcTriggerFlags = triggerFlags;
     this.ProcHitFlags     = hitFlags;
     this.ProcChance       = procChance;
     this.Validator        = (ProcValidator)null;
     this.ProcAction       = procAction;
     this.m_stackCount     = stackCount;
 }
Example #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;
		}
Example #4
0
		public ProcHandlerTemplate(ProcTriggerFlags triggerFlags, ProcValidator validator, ProcCallback procAction, uint procChance, int stackCount)
		{
			ProcTriggerFlags = triggerFlags;
			Validator = validator;
			ProcChance = procChance;
			ProcAction = procAction;
			m_stackCount = stackCount;
		}
Example #5
0
		public ProcHandlerTemplate(ProcTriggerFlags triggerFlags, ProcValidator validator, ProcCallback procAction, uint procChance)
			: this(triggerFlags, validator, procAction, procChance, 0)
		{
		}
Example #6
0
		public ProcHandlerTemplate(ProcTriggerFlags triggerFlags, ProcValidator validator, ProcCallback procAction)
			: this(triggerFlags, validator, procAction, 100)
		{
		}
Example #7
0
		public ProcHandlerTemplate(ProcValidator validator, ProcCallback procAction)
			: this(ProcTriggerFlags.All, validator, procAction)
		{
		}