added WEventGameStateBasedChecked

This commit is contained in:
Anthony Calosa
2017-02-01 09:48:40 +08:00
parent 5504bf23d1
commit c0afb3b95e
2 changed files with 8 additions and 0 deletions

View File

@@ -1061,6 +1061,9 @@ void GameObserver::gameStateBasedEffects()
|| mCurrentGamePhase == MTG_PHASE_COMBATDAMAGE))
userRequestNextGamePhase();
}
//WEventGameStateBasedChecked event checked
receiveEvent(NEW WEventGameStateBasedChecked());
}
void GameObserver::enchantmentStatus()

View File

@@ -31,6 +31,11 @@ WEventDamageStackResolved::WEventDamageStackResolved() :
{
}
WEventGameStateBasedChecked::WEventGameStateBasedChecked() :
WEvent()
{
}
WEventCardUpdate::WEventCardUpdate(MTGCardInstance * card) :
WEvent(), card(card)
{