c7535e38dc1d5c4ed9cc066be2a7c4e3a4c35b10
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
#Wagic the Homebrew
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
Sample round play-through video
Languages
C++
55.1%
C
38.6%
Objective-C
3.4%
Java
1.5%
HTML
0.8%
Other
0.4%



