changed some of the ability names as requested, autoformatted ability.cpp as it was getting pretty messy. added @attackedalone( trigger. added "removefromcombat" mtgability. im going on vacation, whoosh :P
This commit is contained in:
@@ -223,6 +223,13 @@ void MTGCardInstance::eventattacked(){
|
||||
game->receiveEvent(e);
|
||||
}
|
||||
|
||||
//sets card as attacked alone and sends events
|
||||
void MTGCardInstance::eventattackedAlone(){
|
||||
WEvent * e = NEW WEventCardAttackedAlone(this);
|
||||
GameObserver * game = GameObserver::GetInstance();
|
||||
game->receiveEvent(e);
|
||||
}
|
||||
|
||||
//sets card as attacked and sends events
|
||||
void MTGCardInstance::eventattackednotblocked(){
|
||||
didattacked = 1;
|
||||
|
||||
Reference in New Issue
Block a user