Пример #1
0
 public void Activate(ConditionsD condition, MabiDictionary extra = null)
 {
     this.D |= condition; if (extra != null)
     {
         this.SetExtra((double)condition, 3, extra);
     }
     Send.ConditionUpdate(_creature); this.Changed.Raise(_creature);
 }
Пример #2
0
		public void Activate(ConditionsD condition, MabiDictionary extra = null, int duration = -1) { this.D |= condition; if (extra != null) this.SetExtra((double)condition, 3, extra); if (duration > 0) this.SetDuration((double)condition, 3, duration); Send.ConditionUpdate(_creature); this.Changed.Raise(_creature); }
Пример #3
0
		public bool Has(ConditionsD condition) { return ((this.D & condition) != 0); }
Пример #4
0
		public void Deactivate(ConditionsD condition) { this.D &= ~condition; this.RemoveExtra((double)condition, 3); Send.ConditionUpdate(_creature); this.Changed.Raise(_creature); }
Пример #5
0
 public bool Has(ConditionsD condition)
 {
     return((this.D & condition) != 0);
 }
Пример #6
0
 public void Deactivate(ConditionsD condition)
 {
     this.D &= ~condition; Send.ConditionUpdate(_creature);
 }
Пример #7
0
 public void Activate(ConditionsD condition)
 {
     this.D |= condition; Send.ConditionUpdate(_creature);
 }
Пример #8
0
 public void Deactivate(ConditionsD condition)
 {
     this.D &= ~condition; this.RemoveExtra((double)condition, 3); Send.ConditionUpdate(_creature); this.Changed.Raise(_creature);
 }
Пример #9
0
		public void Activate(ConditionsD condition, MabiDictionary extra = null) { this.D |= condition; if (extra != null) this.SetExtra((double)condition, 3, extra); Send.ConditionUpdate(_creature); }
Пример #10
0
 public void Activate(ConditionsD condition)
 {
     this.D |= condition; Send.ConditionUpdate(_creature);
 }
Пример #11
0
 public void Deactivate(ConditionsD condition)
 {
     this.D &= ~condition; Send.ConditionUpdate(_creature);
 }