It is currently 07 Jul 2021, 21:54
   
Text Size

Propaganda

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

Propaganda

Postby DennisBergkamp » 03 Jan 2010, 00:26

I got Propaganda working, sort of.
The problem is that currently it only seems to work AFTER attackers have been declared (if the cost isn't paid, the attacker is removed from combat and untaps).
Is this a big deal?
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Propaganda

Postby silly freak » 03 Jan 2010, 00:55

for cards like Preeminent Captain, for sure. I would skip it until it works better - this is a hard one, i guess
___

where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
silly freak
DEVELOPER
 
Posts: 598
Joined: 26 Mar 2009, 07:18
Location: Vienna, Austria
Has thanked: 93 times
Been thanked: 25 times

Re: Propaganda

Postby DennisBergkamp » 03 Jan 2010, 01:03

Actually it wouldn't be an issue for Preeminent Captain, since the check is done after all Propaganda checks.

But still, the Preeminent Captain would tap, then untap (and removed from combat) if the cost isn't paid, so I dunno if it's worth adding or not. Ideally the "pay x" for Propaganda would pop up RIGHT after attempting to have a creature attack... and the creature wouldn't even attack if the cost isn't paid.
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Propaganda

Postby Rob Cashwalker » 03 Jan 2010, 01:21

It may not be a problem, but the method of how you got it to require mana payment out of the blue might be applicable to X-mana spells....
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: Propaganda

Postby DennisBergkamp » 03 Jan 2010, 02:58

Hmm, perhaps. I'm basically doing the same thing for (Cumulative) Upkeep / Echo.
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Propaganda

Postby Mr.Chaos » 03 Jan 2010, 06:13

Rob Cashwalker wrote:It may not be a problem, but the method of how you got it to require mana payment out of the blue might be applicable to X-mana spells....
OOH! I see a Hurricane on the horizon! :supz: *Does a little premature happy-dance.*
](*,) = 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: Propaganda

Postby Rob Cashwalker » 03 Jan 2010, 21:07

OOH! I see a Hurricane on the horizon!
Don't get your hopes up just yet... I was just curious if the method Dennis used to arbitrarily require mana payment might be usable for something else. Apparently, he uses it for other things in the first place, so, sure, it may be useful.
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: Propaganda

Postby Mr.Chaos » 04 Jan 2010, 07:08

That's the thing with hurricanes, you never can quite tell what path they take.
Oh, well. I will wait...
](*,) = 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: Propaganda

Postby Marek14 » 04 Jan 2010, 07:59

X spells are definitely needed, especially with multikicker coming up in WWK.
Marek14
Tester
 
Posts: 2684
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 275 times

Re: Propaganda

Postby Vecc » 04 Jan 2010, 08:46

I've always thought this could be done in a way similar to what is done with Chandra's -X ability: a prompt with options ranging from 0 to whatever is the max amount of mana you have in your manapool to invest into the X cost (after deducing any other mandatory costs, like RR for Molten Disaster or RRR for a kicked one), then assigning that value to the variable (I don't really know if the code works like that, but it seems like it). Are there complications behind this?
User avatar
Vecc
 
Posts: 178
Joined: 13 Apr 2009, 00:13
Has thanked: 17 times
Been thanked: 5 times

Re: Propaganda

Postby Marek14 » 04 Jan 2010, 10:24

Vecc wrote:I've always thought this could be done in a way similar to what is done with Chandra's -X ability: a prompt with options ranging from 0 to whatever is the max amount of mana you have in your manapool to invest into the X cost (after deducing any other mandatory costs, like RR for Molten Disaster or RRR for a kicked one), then assigning that value to the variable (I don't really know if the code works like that, but it seems like it). Are there complications behind this?
Alternate way would be a list ranging from 0 to 9, with a last option "+10" - that would lead to another list with 11-19 and "+10", etc.
Marek14
Tester
 
Posts: 2684
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 275 times

Re: Propaganda

Postby DennisBergkamp » 04 Jan 2010, 17:07

I know Zerker started adding in some X cost functionality... but I guess he's been busy lately.

Vecc wrote:I've always thought this could be done in a way similar to what is done with Chandra's -X ability: a prompt with options ranging from 0 to whatever is the max amount of mana you have in your manapool to invest into the X cost (after deducing any other mandatory costs, like RR for Molten Disaster or RRR for a kicked one), then assigning that value to the variable (I don't really know if the code works like that, but it seems like it). Are there complications behind this?
It's probably possible to do it that way right now, I don't really see any complications either. But it's a little bit ugly...
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Propaganda

Postby Marek14 » 04 Jan 2010, 20:34

DennisBergkamp wrote:I know Zerker started adding in some X cost functionality... but I guess he's been busy lately.

Vecc wrote:I've always thought this could be done in a way similar to what is done with Chandra's -X ability: a prompt with options ranging from 0 to whatever is the max amount of mana you have in your manapool to invest into the X cost (after deducing any other mandatory costs, like RR for Molten Disaster or RRR for a kicked one), then assigning that value to the variable (I don't really know if the code works like that, but it seems like it). Are there complications behind this?
It's probably possible to do it that way right now, I don't really see any complications either. But it's a little bit ugly...
I think that the UI part can be solved later. If it can work, people can start making cards.
Marek14
Tester
 
Posts: 2684
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 275 times

Re: Propaganda

Postby zerker2000 » 05 Jan 2010, 03:06

DennisBergkamp wrote:I know Zerker started adding in some X cost functionality... but I guess he's been busy lately.
Very true, school... :(.
My idea was actually simple: in PayManaCost, if you pay everything except for X, have another input which adds all mana tapped to X until you click OK.
O forest, hold thy wand'ring son
Though fears assail the door.
O foliage, cloak thy ravaged one
In vestments cut for war.


--Eladamri, the Seed of Freyalise
zerker2000
Programmer
 
Posts: 569
Joined: 09 May 2009, 21:40
Location: South Pasadena, CA
Has thanked: 0 time
Been thanked: 0 time

Re: Propaganda

Postby Marek14 » 05 Jan 2010, 08:13

zerker2000 wrote:
DennisBergkamp wrote:I know Zerker started adding in some X cost functionality... but I guess he's been busy lately.
Very true, school... :(.
My idea was actually simple: in PayManaCost, if you pay everything except for X, have another input which adds all mana tapped to X until you click OK.
Technically, though, the correct way to cast spells is to select X before you pay. See Thrive, for example.
Marek14
Tester
 
Posts: 2684
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 275 times

Next

Return to Forge

Who is online

Users browsing this forum: No registered users and 12 guests


Who is online

In total there are 12 users online :: 0 registered, 0 hidden and 12 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 12 guests

Login Form