protected override void OnEnd() { base.OnEnd(); if (MiniEggUI != null) { User.BManager.battleUIManager.RemoveUIElement(MiniEggUI); MiniEggUI = null; } }
protected override void OnStart() { EggDamage = GetTotalDamage(1); if (Action.CommandEnabled == true && Action.DrawActionCommandInfo == true) { MiniEggUI = new TimedLightActionCommandUI(actionCommand as TimedLightCommand); User.BManager.battleUIManager.AddUIElement(MiniEggUI); } }