It is currently 27 Apr 2024, 08:54
   
Text Size

To be or not to be (included)

Post MTG Forge Related Programming Questions Here

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

To be or not to be (included)

Postby Rob Cashwalker » 18 Feb 2010, 04:55

Final testing of abDrawCards. Research into possible cards reveals Grixis Battlemage.

Code: Select all
Grixis Battlemage
2 B
Creature Human Wizard
no text
2/2
abDrawCards U T:1:Drawback$YouDiscard/1:Draw a card, then discard a card.:Grixis Battlemage - draw a card and discard a card
abPumpTgt R T:This creature cannot block:Target creature can't block this turn.:Grixis Battlemage - target creature cannot block this turn
But as I realized when pasting it into my local cards.txt, the AI currently assumes pump spells to benefit only its own team. But this, like the -1/-1 mechanic, are not normally something you would do to your own team. The only exception I can think of for the Battlemage, would be as a counter to an opponent's "target creature MUST block this turn if able" effect... a corner case, indeed.

So, the question is, include it now anyway because it is perfectly functional for the human, or not until the AI can use it properly? (I can imagine the computer would very likely play it at least once a turn, since it's so cheap... unless it would rather attack with it...)
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Re: To be or not to be (included)

Postby Mr.Chaos » 18 Feb 2010, 09:54

Since it functions for the human, put it in.
We have a few other cards in there that work well for humans but compy can't handle it.
So one more won't break the game. (famous last words :lol: )
](*,) = coder at work, according to a coder.It does explain some of the bugs. :wink:
Mr.Chaos
Tester
 
Posts: 625
Joined: 06 Sep 2008, 08:15
Has thanked: 0 time
Been thanked: 0 time

Re: To be or not to be (included)

Postby DennisBergkamp » 18 Feb 2010, 17:06

I agree, include it.
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: To be or not to be (included)

Postby Chris H. » 18 Feb 2010, 20:50

In a recent game the computer used a different card with the same situation. So, if we already have a card (ahem, cards) with this problem, we might as well add another.

Code: Select all
Goblin Rimerunner
2 R
Snow Creature Goblin Warrior
no text
2/2
abPumpTgt T:This creature cannot block
abPump S:Haste

Jamuraan Lion
2 W
Creature Cat
no text
3/1
abPumpTgt W T:This creature cannot block
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 93 guests


Who is online

In total there are 93 users online :: 0 registered, 0 hidden and 93 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 93 guests

Login Form