Пример #1
0
 public override void OnUse()
 {
     base.OnUse();
     this.SpawnedBuffList.Clear();
     this.overlayRule     = null;
     this.clearRule       = null;
     this.protectRule     = null;
     this.changeSkillRule = null;
     this.markRule        = null;
     this.logicEffect     = null;
     this.bRemoveList     = true;
     this.delBuffList.Clear();
 }
Пример #2
0
 public override void Init()
 {
     this.overlayRule     = new BuffOverlayRule();
     this.clearRule       = new BuffClearRule();
     this.protectRule     = new BuffProtectRule();
     this.changeSkillRule = new BuffChangeSkillRule();
     this.markRule        = new BufferMarkRule();
     this.overlayRule.Init(this);
     this.clearRule.Init(this);
     this.protectRule.Init(this);
     this.changeSkillRule.Init(this);
     this.markRule.Init(this);
     base.Init();
 }