Page 1 of 1

AI specific SVars

PostPosted: 04 Nov 2010, 07:35
by Sloth
This list is a reminder for all developers and other people who want to add cards.

SVar:RemAIDeck:True

This SVar will prevent the card from appearing in random decks (also the humans). It is not only applicable for cards the AI can't use at all like Dark Ritual, but also for cards that the AI could use, but only ineffectively like Tortoise Formation and cards that are too narrow for random decks like Root Cage or Into the North.


SVar:PlayMain1:TRUE

The AI will play cards with this SVar in its first main phase. The AI will not play any spells without this in Main1 (exceptions see below). Remember that some keywords have this "build in" like enPump, spPump, etbDestroy, spDestroy and Haste. Applicable for Lords (Kaysa), etb effects (Joraga Bard) or unconventional removal (Journey to Nowhere).


SVar:BuffedBy:[ValidCards]

If a permanent with this SVar is on the battlefield under its control the AI will play the specified cards in Main1. Applicable for creatures with a P/T setting static ability (Kithkin Rabble) or additional buffes (Radiant, Archangel).


SVar:AntiBuffedBy:[ValidCards]

If a permanent with this SVar is on the battlefield under your control the AI will play the specified cards in Main1. Applicable for cards like Heart Sliver or Timid Drake.


SVar:EquipMe:[Multiple]/[Once]

Creatures with "Multiple" in this SVar will always be prefered when the AI equippes (Myr Adapter), creatures with "Once" only if they are not equipped already (Kor Duelist).


SVar:EnchantMe:[Multiple]/[Once]

Creatures with "Multiple" in this SVar will always be prefered when the AI enchants (Rabid Wombat), creatures with "Once" only if they are not enchanted already (Gate Hound).

Re: AI specific SVars

PostPosted: 04 Nov 2010, 12:37
by Chris H.
Thank you, Sloth. Good job btw.

I made this topic a sticky.

Re: AI specific SVars

PostPosted: 04 Nov 2010, 16:54
by mtgrares
SVars looks very useful. I especially like AntiBuffedBy, which is a vague idea that I've had in my mind but I couldn't quite pin it down enough to code it. SVars should help the AI alot.