Beispiel #1
0
    public void ConfirmAllyTarget(BaseCharacter selectedTarget)
    {
        Commander.instance.turnStateMachine.HasConfirmedCommand = true;

        switch (activeCharacter.activeCommand.skillType)
        {
        case SkillType.SingleTarget:
            activeCharacter.CastToAlly(activeCharacter.activeCommand, selectedTarget);

            ClearFriendlyTargets();
            break;

        case SkillType.MultipleTarget:
            activeCharacter.CastToAllies(activeCharacter.activeCommand, friendlyTargets);

            ClearFriendlyTargets();
            break;
        }
    }