public override bool CheckCond(GameEvent gameEvent) { ChargeStatus me = this.gameObject.GetComponent <ChargeStatus>(); ChargeStatus other = gameEvent.GetGameData <GameObject>().GetComponent <ChargeStatus>(); if (me != null && other != null) { if (!other.IsActive() || (me.IsActive() && other.GetTurnNumber() <= me.GetTurnNumber())) { return(true); } } return(false); }