Improved Die Roll event and trigger, added Flip Coin trigger management, added/fixed almost all primitives with "roll a die ability", fixed some tab chars in source files.
This commit is contained in:
@@ -345,7 +345,7 @@ struct WEventCardCopiedACard : public WEventCardUpdate {
|
||||
|
||||
//alterenergy event
|
||||
struct WEventplayerEnergized : public WEvent {
|
||||
WEventplayerEnergized(Player * player,int nb_count);
|
||||
WEventplayerEnergized(Player * player, int nb_count);
|
||||
Player * player;
|
||||
int nb_count;
|
||||
using WEvent::getTarget;
|
||||
@@ -368,7 +368,15 @@ struct WEventCardSurveiled : public WEventCardUpdate {
|
||||
|
||||
//roll die event
|
||||
struct WEventCardRollDie : public WEventCardUpdate {
|
||||
WEventCardRollDie(MTGCardInstance * card);
|
||||
string playerName;
|
||||
WEventCardRollDie(MTGCardInstance * card, string playerName);
|
||||
virtual Targetable * getTarget(int target);
|
||||
};
|
||||
|
||||
//flip coin event
|
||||
struct WEventCardFlipCoin : public WEventCardUpdate {
|
||||
string playerName;
|
||||
WEventCardFlipCoin(MTGCardInstance * card, string playerName);
|
||||
virtual Targetable * getTarget(int target);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user