Anthony Calosa c7535e38dc TrcardDrawn, TrDamaged, TrLifeGained
Added trigger restriction for "@trigger(player)
restriction{opponenttrigger/controllertrigger}"

Restriction for:
@drawn
@damaged(combat and noncombat)
@lifed/lifeloss

Why?

When using @drawn trigger like Underworld Dreams
auto=@drawn(opponent):life:-1 opponent

If you take control of Underworld Dreams from an opponent, the
targetchooser for "opponent" is not updated and you are still the
opponent of Underworld Dreams even you take control of it(It is right if
you are the chosen opponent from cards like Black Vise, The Rack, etc...
The chosen opponent never changes. But cards that don't define a chosen
player an "opponent" like Underworld Dreams when an exchanged control
happens, the opponent of the card is the opponent of the one who
controls the card). :P

The new correct code for Underworld Dreams:
auto=@drawn(player) restriction{opponenttrigger}:life:-1 opponent
2015-10-18 22:38:41 +08:00
2015-09-15 07:58:24 +02:00
2013-10-28 15:29:51 -07:00
2015-10-10 14:35:53 +02:00
2014-12-09 22:18:51 +01:00
2014-12-29 15:04:00 +01:00

#Wagic the Homebrew

Build Status Build status Coverage Status

Description

Wagic, the Homebrew, is a C++ game engine that allows to play card games against an AI on

  • Android (phones and tablets)
  • iOS (iPhone/iPad)
  • Sony PSP
  • Windows desktops
  • MacOS
  • Linux and derivated like Maemo or Meego

It is highly customizable and allows the player to tweak the rules / create their own cards, their own themes, etc...

Info, downloads, discussions and more at http://wololo.net/forum/index.php

-alt text

Sample round play-through video

IMAGE ALT TEXT HERE

Languages
C++ 55.1%
C 38.6%
Objective-C 3.4%
Java 1.5%
HTML 0.8%
Other 0.4%