Exemplo n.º 1
0
 private void PrepWall_OnExit(On.EntityStates.Mage.Weapon.PrepWall.orig_OnExit orig, PrepWall self)
 {
     orig(self);
     if (this.prepWallContext.ContainsKey(self))
     {
         PrepWallContext context = this.prepWallContext[self];
         context.handle.Fire(context.passive.ext_prepWallMinDelay, context.passive.ext_prepWallMaxDelay);
         _ = this.prepWallContext.Remove(self);
     }
 }
Exemplo n.º 2
0
 private void PrepWall_OnExit(On.EntityStates.Mage.Weapon.PrepWall.orig_OnExit orig, EntityStates.Mage.Weapon.PrepWall self)
 {
     ignoreMugs = true;
     orig(self);
     ignoreMugs = false;
 }