Coded the initiative ability from CLB set, added some condition to test if a card has been casted from exile or sideboard or commandzone.

This commit is contained in:
Vittorio Alfieri
2023-05-04 14:56:04 +02:00
parent 509e25d4cc
commit 0efc61fda7
9 changed files with 170 additions and 0 deletions
+8
View File
@@ -385,6 +385,14 @@ struct WEventplayerMonarch : public WEvent {
virtual Targetable * getTarget(Player * player);
};
//initiative event
struct WEventplayerInitiative : public WEvent {
WEventplayerInitiative(Player * player);
Player * player;
using WEvent::getTarget;
virtual Targetable * getTarget(Player * player);
};
//shuffle event
struct WEventplayerShuffled : public WEvent {
WEventplayerShuffled(Player * player);