It is currently 08 Jul 2021, 00:00
   
Text Size

Card Contributions

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, friarsol, Blacksmith, KrazyTheFox, Agetian, CCGHQ Admins

Re: Card Contributions

Postby swordshine » 06 Jan 2013, 02:56

friarsol wrote:Ok, I just added Goham Djinn from Invasion, someone can feel free to add the other 4.
Done!
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Card Contributions

Postby friarsol » 17 Jan 2013, 13:14

Hey Swordshine,

Looks like you just added Sworn Defender. I believe Sentinel is basically the same ability except with a Permanent animate and it only changes the toughness.
friarsol
Global Moderator
 
Posts: 7575
Joined: 15 May 2010, 04:20
Has thanked: 242 times
Been thanked: 956 times

Re: Card Contributions

Postby swordshine » 18 Jan 2013, 05:42

friarsol wrote:Hey Swordshine,

Looks like you just added Sworn Defender. I believe Sentinel is basically the same ability except with a Permanent animate and it only changes the toughness.
Done!
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Card Contributions

Postby friarsol » 15 Feb 2013, 22:43

If my calculations are correct we're 5 cards away from 85% from all Standard sets (this doesn't include Vanguard and Planechase)

Here are the best candidates for getting over the hump:

1 of Alliances
Lim-Dul's Vault
Gargantuan Gorilla
Rogue Skycaptain
Gustha's Scepter

1 of The Dark
Dark Sphere
Mana Clash
Psychic Allergy
Spitting Slug
Whippoorwill

3 of Legends
Cocoon
Eureka (repeat, Hunted Wumpus ability for all players, remember, if remember==0 stop, (or something like that))
Feint
Halfdane (animate UntilYourNextUpkeep)
Infinite Authority
Invoke Prejudice
Juxtapose
Land's Edge (add some AILogic so AI doesn't discard lands it needs, or non-lands)
Marble Priest
Puppet Master
Rebirth (probably just needs some AILogic)
Reincarnation
Reverberation
friarsol
Global Moderator
 
Posts: 7575
Joined: 15 May 2010, 04:20
Has thanked: 242 times
Been thanked: 956 times

Re: Card Contributions

Postby squee1968 » 15 Feb 2013, 23:03

I would definitely vote for Invoke Prejudice. I've been using a half-implemented version for months.
squee1968
 
Posts: 246
Joined: 18 Nov 2011, 03:28
Has thanked: 110 times
Been thanked: 45 times

Re: Card Contributions

Postby swordshine » 16 Feb 2013, 12:32

@squee1968
What's your half-implemented version of Invoke Prejudice? I'll look into it when I'm back.
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Card Contributions

Postby moomarc » 16 Feb 2013, 12:42

friarsol wrote:If my calculations are correct we're 5 cards away from 85% from all Standard sets (this doesn't include Vanguard and Planechase)

3 of Legends
Cocoon
Eureka (repeat, Hunted Wumpus ability for all players, remember, if remember==0 stop, (or something like that))
Feint
Halfdane (animate UntilYourNextUpkeep)
Infinite Authority
Invoke Prejudice
Juxtapose
Land's Edge (add some AILogic so AI doesn't discard lands it needs, or non-lands)
Marble Priest
Puppet Master
Rebirth (probably just needs some AILogic)
Reincarnation
Reverberation
Just committed Feint and Sloth already added Marble Priest, so only one left per set! Also looked at Halfdane, but it's not quite as easy as it seemed. The effect lasts until the end of your next upkeep, so if there's no valid targets, the effect would end too soon if scripted with UntilYourNextUpkeep.
-Marc
User avatar
moomarc
Pixel Commander
 
Posts: 2091
Joined: 04 Jun 2010, 15:22
Location: Johannesburg, South Africa
Has thanked: 371 times
Been thanked: 372 times

Re: Card Contributions

Postby swordshine » 16 Feb 2013, 13:02

What about Ice Age? Does that set reach 85%?
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Card Contributions

Postby squee1968 » 16 Feb 2013, 13:25

swordshine wrote:@squee1968
What's your half-implemented version of Invoke Prejudice? I'll look into it when I'm back.
I really don't think mine would be of much use, since it's a really hacky version that uses an activated ability, instead of the proper trigger ability, but it could help save a little bit of typing for ya. I just activate it myself when AI casts a non-blue or a non-white creatue spell.

Code: Select all
Name:Invoke Prejudice
ManaCost:U U U U
Types:Enchantment
Text:no text
A:AB$ Counter | Cost$ 0 | TargetType$ Spell | ValidTgts$ Creature | UnlessCost$ X | UnlessPayer$ TargetedController | SpellDescription$ Whenever an opponent casts a creature spell that doesn't share a color with a creature you control, counter that spell unless its controller pays {X}, where X is its converted mana cost.
SVar:X:Targeted$CardManaCost
SVar:RemRandomDeck:True
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/invoke_prejudice.jpg
SetInfo:LEG|Rare|http://magiccards.info/scans/en/lg/62.jpg
Oracle:Whenever an opponent casts a creature spell that doesn't share a color with a creature you control, counter that spell unless its controller pays {X}, where X is its converted mana cost.
End
EDIT: I wonder if this could be done similarly to the way you did Bloom Tender. Something like:

T:Mode$ SpellCast | ValidCard$ Creature.White+OppCtrl | TriggerZones$ Battlefield | Execute$ TrigCounter | ConditionCheckSVar$ CheckW | ConditionSVarCompare$ LT1 | TriggerDescription$ Whenever an opponent casts a creature spell that doesn't share a color with a creature you control, counter that spell unless its controller pays {X}, where X is its converted mana cost.
SVar:CheckW:Count$Valid Creature.YouCtrl+White

and then repeat that for the other 4 colors. and use the AB I have above for the subability.

Maybe something like this?

Code: Select all
Name:Invoke Prejudice
ManaCost:U U U U
Types:Enchantment
Text:no text
T:Mode$ SpellCast | ValidCard$ Creature.White+OppCtrl | TriggerZones$ Battlefield | Execute$ TrigCounter | ConditionCheckSVar$ CheckW | ConditionSVarCompare$ LT1 | TriggerDescription$ Whenever an opponent casts a creature spell that doesn't share a color with a creature you control, counter that spell unless its controller pays {X}, where X is its converted mana cost.
T:Mode$ SpellCast | ValidCard$ Creature.Blue+OppCtrl | TriggerZones$ Battlefield | Execute$ TrigCounter | ConditionCheckSVar$ CheckU | ConditionSVarCompare$ LT1 | TriggerDescription$ Whenever an opponent casts a creature spell that doesn't share a color with a creature you control, counter that spell unless its controller pays {X}, where X is its converted mana cost.
T:Mode$ SpellCast | ValidCard$ Creature.Black+OppCtrl | TriggerZones$ Battlefield | Execute$ TrigCounter | ConditionCheckSVar$ CheckB | ConditionSVarCompare$ LT1 | TriggerDescription$ Whenever an opponent casts a creature spell that doesn't share a color with a creature you control, counter that spell unless its controller pays {X}, where X is its converted mana cost.
T:Mode$ SpellCast | ValidCard$ Creature.Red+OppCtrl | TriggerZones$ Battlefield | Execute$ TrigCounter | ConditionCheckSVar$ CheckR | ConditionSVarCompare$ LT1 | TriggerDescription$ Whenever an opponent casts a creature spell that doesn't share a color with a creature you control, counter that spell unless its controller pays {X}, where X is its converted mana cost.
T:Mode$ SpellCast | ValidCard$ Creature.Green+OppCtrl | TriggerZones$ Battlefield | Execute$ TrigCounter | ConditionCheckSVar$ CheckG | ConditionSVarCompare$ LT1 | TriggerDescription$ Whenever an opponent casts a creature spell that doesn't share a color with a creature you control, counter that spell unless its controller pays {X}, where X is its converted mana cost.
SVar:TrigCounter:DB$ Counter | TargetType$ Spell | ValidTgts$ Creature | UnlessCost$ X | References$ X | UnlessPayer$ TargetedController | SpellDescription$ Whenever an opponent casts a creature spell that doesn't share a color with a creature you control, counter that spell unless its controller pays {X}, where X is its converted mana cost.
SVar:CheckW:Count$Valid Creature.YouCtrl+White
SVar:CheckU:Count$Valid Creature.YouCtrl+Blue
SVar:CheckB:Count$Valid Creature.YouCtrl+Black
SVar:CheckR:Count$Valid Creature.YouCtrl+Red
SVar:CheckG:Count$Valid Creature.YouCtrl+Green
SVar:X:Targeted$CardManaCost
SVar:RemRandomDeck:True
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/invoke_prejudice.jpg
SetInfo:LEG|Rare|http://magiccards.info/scans/en/lg/62.jpg
Oracle:Whenever an opponent casts a creature spell that doesn't share a color with a creature you control, counter that spell unless its controller pays {X}, where X is its converted mana cost.
End
EDIT6: Nope, just tested it, changed a few things around (hence the multiple edits), and it doesn't work properly. It will trigger multiple times for hybrid creatures, probably would also for multi-colored creatures, too. I think a new targeting restriction would have to be coded in, something like:

T:Mode$ SpellCast | ValidCard$ Creature.OppCtrl+DoesntShareColorWith$ Creature.YouCtrl
Last edited by squee1968 on 16 Feb 2013, 15:06, edited 6 times in total.
squee1968
 
Posts: 246
Joined: 18 Nov 2011, 03:28
Has thanked: 110 times
Been thanked: 45 times

Re: Card Contributions

Postby friarsol » 16 Feb 2013, 13:28

swordshine wrote:What about Ice Age? Does that set reach 85%?
It's at 85.25% already, I believe due to moomarc's divided work.
friarsol
Global Moderator
 
Posts: 7575
Joined: 15 May 2010, 04:20
Has thanked: 242 times
Been thanked: 956 times

Re: Card Contributions

Postby moomarc » 16 Feb 2013, 14:03

And there goes Legends... added Reincarnation. =D>
-Marc
User avatar
moomarc
Pixel Commander
 
Posts: 2091
Joined: 04 Jun 2010, 15:22
Location: Johannesburg, South Africa
Has thanked: 371 times
Been thanked: 372 times

Re: Card Contributions

Postby friarsol » 16 Feb 2013, 14:20

I think Gargantuan Gorilla is the easiest Alliances card to do. It's half Crovax the Cursed and half Tracker. Also, it looks like Blood Speaker has an incorrect script and is similar to the above cards. If you are feeling motivated, it'd be great to switch that in.
friarsol
Global Moderator
 
Posts: 7575
Joined: 15 May 2010, 04:20
Has thanked: 242 times
Been thanked: 956 times

Re: Card Contributions

Postby friarsol » 16 Feb 2013, 21:39

friarsol wrote:I think Gargantuan Gorilla is the easiest Alliances card to do. It's half Crovax the Cursed and half Tracker. Also, it looks like Blood Speaker has an incorrect script and is similar to the above cards. If you are feeling motivated, it'd be great to switch that in.
I'll get these.
friarsol
Global Moderator
 
Posts: 7575
Joined: 15 May 2010, 04:20
Has thanked: 242 times
Been thanked: 956 times

Re: Card Contributions

Postby friarsol » 16 Feb 2013, 23:12

I believe this script is functional for Mana Clash, but I don't really like how it works, not enough player feedback (and harder to clarify if it woked without appropriate feedback). So I'm gonna leave it for here for now. And maybe get back to it when I have a better idea of showing what happened.

Code: Select all
A:SP$ Repeat | Cost$ R | ValidTgts$ Opponent | RepeatSubAbility$ DBCleanBeforeRepeat | RepeatPresent$ Card | RepeatCompare$ EQ2 | RepeatDefined$ Remembered | SubAbility$ DBCleanup | SpellDescription$ You and target opponent each flip a coin. Mana Clash deals 1 damage to each player whose coin comes up tails. Repeat this process until both players' coins come up heads on the same flip. | StackDescription$ SpellDescription
SVar:DBCleanBeforeRepeat:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DBYouFlip
SVar:DBYouFlip:DB$ FlipACoin | NoCall$ True | Defined$ You | SubAbility$ DBTgtFlip | RememberWinner$ True | LoseSubAbility$ DBDamageYou
SVar:DBDamageYou:DB$ DealDamage | Defined$ You | NumDmg$ 1
SVar:DBTgtFlip:DB$ FlipACoin | NoCall$ True | Defined$ Targeted | SubAbility$ DBCleanup | RememberWinner$ True | LoseSubAbility$ DBDamageTgt
SVar:DBDamageTgt:DB$ DealDamage | Defined$ Targeted | NumDmg$ 1
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
friarsol
Global Moderator
 
Posts: 7575
Joined: 15 May 2010, 04:20
Has thanked: 242 times
Been thanked: 956 times

Re: Card Contributions

Postby friarsol » 17 Feb 2013, 03:09

Someone was mentioning they were trying to figure out how to script Bioshift. This may work:

Pump Target and Remember for the Source Creature.
ChooseNumber with Max of +1/+1 counters of parent targeted and set this to X
MoveCounter source is Remembered creature target (same controller) for the recipient from the Source for X +1/+1 counters.
friarsol
Global Moderator
 
Posts: 7575
Joined: 15 May 2010, 04:20
Has thanked: 242 times
Been thanked: 956 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 8 guests


Who is online

In total there are 8 users online :: 0 registered, 0 hidden and 8 guests (based on users active over the past 10 minutes)
Most users ever online was 1922 on 07 Jun 2021, 06:01

Users browsing this forum: No registered users and 8 guests

Login Form