Exemplo n.º 1
0
    public void CheckLegendCards()
    {
        // Check if narrator is at runestones
        if (index == runestoneIndex)
        {
            LegendCard runestoneCard = legendCardDeck.getCard("RunestoneCard");
            witchFound = true;//REMOVE AFTER
            if (!legendCardDeck.isEasy && witchFound)
            {
                runestoneCard.ApplyEffect();
            }
            else if (legendCardDeck.isEasy)
            {
                runestoneCard.ApplyEffect();
            }
        }

        if (index == 0) // A
        {
            LegendCard A3 = legendCardDeck.getCard("A3");
            LegendCard A4 = legendCardDeck.getCard("A4");
            A3.ApplyEffect();
            A4.ApplyEffect();
        }

        if (index == 2) // C
        {
            LegendCard c1 = legendCardDeck.getCard("C1");
            LegendCard c2 = legendCardDeck.getCard("C2");
            c1.ApplyEffect();
            c2.ApplyEffect();
            tasks.Add("Tower Skrall", "- Kill the Tower Skral \n");
            UpdateTasks();
        }

        if (index == 6) // G
        {
            LegendCard g = legendCardDeck.getCard("G");
            g.ApplyEffect();
        }

        if (index == 13) // N
        {
            LegendCard n = legendCardDeck.getCard("N");
            n.ApplyEffect();
        }
    }
Exemplo n.º 2
0
    public void TriggerWitchCard()
    {
        witchFound = true;
        LegendCard witchCard = legendCardDeck.getCard("WitchCard");

        witchCard.ApplyEffect();
        tasks.Remove("Witch");
        tasks.Add("Herb", "- Bring the Herb (Cell " + herbCellId + ") to the Castle \n");
        UpdateTasks();
    }