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); } }
private void PrepWall_OnExit(On.EntityStates.Mage.Weapon.PrepWall.orig_OnExit orig, EntityStates.Mage.Weapon.PrepWall self) { ignoreMugs = true; orig(self); ignoreMugs = false; }