It is currently 14 Aug 2025, 16:35
   
Text Size

AbilityFactory TODO list

Post MTG Forge Related Programming Questions Here

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

Re: AbilityFactory TODO list

Postby friarsol » 09 Mar 2011, 15:11

A note for all the new AFs that are being worked on: Please when you get some time update the Wiki page so the info is a bit more accessible. I know some of the current AFs are a bit behind in their docs, so if you notice something in there that's incorrect feel free to fix it so the next guy can know what's going on.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: AbilityFactory TODO list

Postby friarsol » 09 Mar 2011, 15:34

And another possible AF: EndGame, which would have three modes: Win, Lose or Draw. I think there are only two cards that can cause the game to Draw. We can hold off on those until we support Draws better.
Loses is mostly Door to Nothingness and Phage the Untouchable
We have a bunch of the the AlternateWinConditions already hard coded, and overall it's a pretty short AF.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: AbilityFactory TODO list

Postby Replika » 09 Mar 2011, 20:18

Loses would also be needed for the Pact cycle, or the AI's-Doom-Cycle.
Replika
 
Posts: 115
Joined: 30 Jan 2011, 21:15
Has thanked: 2 times
Been thanked: 3 times

Re: AbilityFactory TODO list

Postby slapshot5 » 12 Mar 2011, 00:34

AF_Animate has the ability to do Memnarch style abilities ("Target permanent becomes an artifact in addition to its other types.").

The AI for AF_Animate currently doesn't know what to do with this. I was pondering what the AI should do for these style abilities. It seems like this ability would mostly be for combos. Suggestions for how the AI should use this, or is the AI simply not smart enough at the moment to be able to effectively use these abilities?

-slapshot5

edit: just fixing typo
Last edited by slapshot5 on 12 Mar 2011, 15:08, edited 1 time in total.
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: AbilityFactory TODO list

Postby ZzzzSleep » 12 Mar 2011, 06:08

slapshot5 wrote:AF_Animate has the ability to do Memnarch style abilities ("Target permanent becomes an artifact in addition to its other types.").

The AI for AF_Animate currently doesn't know what to do with this. I was pondering what the AI should do for these style abilities. It seems like this ability would mostly be for combos. Suggestions for how the AI should use this, or is the AI simply not smart enough a the moment to be able to effectively use these abilities?

-slapshot5
Would it be worth adding a check to see if anything that it controls has a PumpedBy <AnimateType> and if it does animating as many things as possible?

Or if the computer is able to control/destroy <AnimateType> and animate the best card controlled by the opponent, then destroy/control it?

This could be completely useless, I'm just throwing out ideas here.
ZzzzSleep
 
Posts: 182
Joined: 29 Oct 2010, 02:19
Has thanked: 18 times
Been thanked: 18 times

Re: AbilityFactory TODO list

Postby slapshot5 » 12 Mar 2011, 15:11

ZzzzSleep wrote:Would it be worth adding a check to see if anything that it controls has a PumpedBy <AnimateType> and if it does animating as many things as possible?

Or if the computer is able to control/destroy <AnimateType> and animate the best card controlled by the opponent, then destroy/control it?

This could be completely useless, I'm just throwing out ideas here.
Your ideas are spot on, but they involve the interaction of two cards, which the computer is very poor at dealing with. The first idea would be easy enough. I'm not sure the second part would be very easy.

-slapshot5
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: AbilityFactory TODO list

Postby friarsol » 12 Mar 2011, 15:34

Yea the second part would be tougher for sure. It involves:

Looking through all available SAs. Sorting through which ones fit the parameters. Throwing out whichever ones can't be activated after the first is activated. Then making sure that second SA which was the whole reason we activated the first SA actually gets played. Unfortunately, our infrastructure is not setup for these type of "planning" moves at this time.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: AbilityFactory TODO list

Postby SoulStorm » 15 Mar 2011, 06:06

Is anyone contemplating AF_Copy?
SoulStorm
 
Posts: 423
Joined: 24 Jun 2010, 22:48
Has thanked: 16 times
Been thanked: 11 times

Re: AbilityFactory TODO list

Postby slapshot5 » 15 Mar 2011, 14:01

SoulStorm wrote:Is anyone contemplating AF_Copy?
Contemplated as in "I wish we had that." Yes. Volunteering to do it? No.
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: AbilityFactory TODO list

Postby slapshot5 » 07 May 2011, 14:32

The Win/Lose AbilityFactory is now implemented. Done by Sol I believe.
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: AbilityFactory TODO list

Postby slapshot5 » 07 May 2011, 14:34

I just submitted an AbilityFactory for "look at target player's hand" type of stuff. Like Glasses of Urza and Lay Bare.

-slapshot5
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: AbilityFactory TODO list

Postby friarsol » 07 May 2011, 23:00

slapshot5 wrote:The Win/Lose AbilityFactory is now implemented. Done by Sol I believe.
Oh yea. I did those the other day, but only converted Epic Struggle as a sample. In particular, Helix Pinnacle will need some extra work in hasProperty.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: AbilityFactory TODO list

Postby slapshot5 » 11 May 2011, 17:45

There is now an AF_Reveal for cards like Impulse and Lead the Stampede.

It is currently of the form: SP$Reveal

I think maybe it should be SP$LookAt and save reveal for cards that have "Reveal the top..."

Thoughts? Other ideas? Maybe Sol's "SP$Peek" would be better? Or would that be better used for something else?

-slapshot5
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: AbilityFactory TODO list

Postby friarsol » 11 May 2011, 19:00

slapshot5 wrote:There is now an AF_Reveal for cards like Impulse and Lead the Stampede.

It is currently of the form: SP$Reveal

I think maybe it should be SP$LookAt and save reveal for cards that have "Reveal the top..."

Thoughts? Other ideas? Maybe Sol's "SP$Peek" would be better? Or would that be better used for something else?

-slapshot5
I was thinking either "Dig" or "Search" or "Seek" when I was trying to come up with other names aside from "Peek". Since many of these don't actually reveal anything, it's probably better not to be Reveal.

We should have a Reveal flag in this AF so we can combine the two AFs. If the Type we're looking for is not just "Card" that will get Revealed.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: AbilityFactory TODO list

Postby slapshot5 » 11 May 2011, 19:07

I think Search is too much like the Tutors. I'm good with Dig.
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 13 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 13 users online :: 0 registered, 0 hidden and 13 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 13 guests

Login Form