Exemple #1
0
        // REMOVE CONDITIONS

        private void RemoveOwnConditions(GenericShip ship)
        {
            HostShip.Tokens.RemoveCondition(AssignedCondition);
            AssignedCondition = null;
        }
Exemple #2
0
 protected virtual void Assign(Type conditionType)
 {
     AssignedCondition = Activator.CreateInstance(conditionType, HostShip) as ZamWesellSecretCondition;
     Messages.ShowInfo($"{HostShip.PilotInfo.PilotName}: Secret condition is assigned");
     HostShip.Tokens.AssignToken(AssignedCondition, Triggers.FinishTrigger);
 }