MArcomage

Free multiplayer on-line fantasy card game

Please log in

Damalycus on 18:29, 27. Sep, 2011
Should be renamed from "last played" to "last", otherwise it's misguiding
DPsycho on 21:41, 27. Sep, 2011
Without the word "played" it would suggest that this also works after discarding a zero-cost card, the same as Reuse the rubble functions.

It's coded as: if (($mylast_card->GetResources("") == 0) and ($mylast_action == 'play')). It fails this check if the last action was to discard.
Damalycus on 07:56, 28. Sep, 2011
My mistake. It seamed to me that in one of the games it gave me +3 +2 after discarding. I've checked again now, and it turns out i'm wrong. False alarm.
NG_Beholder on 07:21, 26. Oct, 2011
Now it gives 3 gems/2 recruits if played in round 1 or 2, after "Empty", but, I guess, it wasn't intended. "Empty" is zero-cost card with undefined rarity, and it's "played" by both players before actual start. I believe the same thing happens when Conscript played after "Empty".
Mojko on 10:47, 26. Oct, 2011
Interesting... I have to check what other cards do in this situation as well.
Damalycus on 12:21, 26. Oct, 2011
NG_Beholder wrote:
Now it gives 3 gems/2 recruits if played in round 1 or 2, after "Empty", but, I guess, it wasn't intended. "Empty" is zero-cost card with undefined rarity, and it's "played" by both players before actual start. I believe the same thing happens when Conscript played after "Empty".

I always thought it was intended. One enemy always started with hidden treasure.
NG_Beholder on 13:12, 26. Oct, 2011
Hidden treasure supposed to give additional resources if played after another zero-cost card. But conditional effect on cards like this shouldn't trigger in round 1 or 2, because you didn't actually play anything yet.
I'm not sure if that "empty" card can be removed, but if it can't - it should have "undefined cost" as well as "undefined rarity".
Mojko on 13:40, 26. Oct, 2011
Well, the easiest way is not change the condition of the card from

if (($mylast_card->GetResources("") == 0) and ($mylast_action == 'play'))

to

if (($mylast_card->GetResources("") == 0) and ($mylast_action == 'play') and $mylast_card->ID > 0)
andi on 17:37, 26. Oct, 2011
I always considered this a feature, rather than a bug :D
Arbnos on 17:42, 26. Oct, 2011
Add Begin ?
Fithz Hood on 19:10, 26. Oct, 2011
andi wrote:
I always considered this a feature, rather than a bug :D


I didn't know this, why nobody have told me? It's one of the card I use the most.
And what about coscript? same bug?
Fithz Hood on 19:13, 26. Oct, 2011
Mojko wrote:
Well, the easiest way is not change the condition of the card from

if (($mylast_card->GetResources("") == 0) and ($mylast_action == 'play'))

to

if (($mylast_card->GetResources("") == 0) and ($mylast_action == 'play') and $mylast_card->ID > 0)



yes, coscript has the same code:

if (($mylast_card->GetResources("") == 0) and ($mylast_action == 'play'))