Пример #1
0
        private void AskToPerformAction(object sender, System.EventArgs e)
        {
            Messages.ShowInfoToHuman(HostUpgrade.UpgradeInfo.Name + ": You may suffer 1 damage to perform a white action");

            HostShip.BeforeFreeActionIsPerformed += RegisterSufferDamage;

            HostShip.AskPerformFreeAction(
                HostShip.GetAvailableActionsWhiteOnly(),
                FinishAbility
                );
        }
Пример #2
0
        private void AskToPerformAction(object sender, System.EventArgs e)
        {
            HostShip.BeforeActionIsPerformed += RegisterSufferDamage;

            HostShip.AskPerformFreeAction(
                HostShip.GetAvailableActionsWhiteOnly(),
                FinishAbility,
                HostUpgrade.UpgradeInfo.Name,
                "After you partially execute a maneuver, you may suffer 1 damage to perform 1 white action",
                HostUpgrade
                );
        }