Example #1
0
        public override void DoAction(GenericAbility ability)
        {
            Ability = ability;

            Ability.AskToUseAbility(
                Description.Name,
                AiUseByDefault,
                DoOnYes,
                DoOnNo,
                descriptionLong: Description.Description,
                imageHolder: Description.ImageSource,
                requiredPlayer: Ability.HostShip.Owner.PlayerNo
                );
        }
Example #2
0
        public override void DoAction(GenericAbility ability)
        {
            Ability = ability;

            Ability.AskToUseAbility
            (
                Description.Name,
                Ability.AlwaysUseByDefault,
                AcquireTargetLock,
                descriptionLong: Description.Description,
                imageHolder: Description.ImageSource,
                dontUseAbility: GoNext
            );
        }