Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Special Summoning Monster from Deck due to Card effect #179

Open
@jdistro07

Description

Hi. I am making a bot that uses Spirit Charmers Structure Deck. I can't figure out how to Special Summon Awakening of the Possessed - Nefariouser Archfiend from the deck by tributing 1 spellcaster and 1 level 4 or lower Earth monster on the bot's field.

I have this code currently and it seems SpSummon doesn't seem to work:

[Deck("SpiritCharmers", "AI_SDSpiritCharmers")]
public class SpiritCharmers : DefaultExecutor
{
	public SpiritCharmers(GameAI ai, Duel duel)
	: base(ai, duel)
 {
		...
 AddExecutor(ExecutorType.SpSummon, CardId.AwakeningNefariouserArch, AwakeningNefariouserArch_Effect);
		...
	}
	
	public bool AwakeningNefariouserArch_Effect()
	{
		if (ActivateDescription == Util.GetStringId(CardId.AwakeningNefariouserArch, 0))
		{
			AI.SelectCard(CardId.AwakeningNefariouserArch);
			return true;
		}
		return false;
	}
}

The bot special summons but only if Awakening of the Possessed - Nefariouser Archfiend is on the hand which is not really productive. Any help would be appreciated.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /