moved the eventsending for drawing cards into the resolve of adrawer. tho i think this will make this event unusable for "card draw replacement effects"...it really doesn't matter as i don't see card draw replacement being added to wagic any time soon, if ever.

2nd, having levelup and counters return effs separately.
This commit is contained in:
omegablast2002@yahoo.com
2011-04-25 12:00:33 +00:00
parent 1cbf3db582
commit 934e0af004
3 changed files with 58 additions and 54 deletions

View File

@@ -537,12 +537,6 @@ int ActionStack::addDraw(Player * player, int nb_cards)
{
DrawAction * draw = NEW DrawAction(mCount, player, nb_cards);
addAction(draw);
GameObserver *g = GameObserver::GetInstance();
for(int i = nb_cards; i > 0;i--)
{
WEvent * e = NEW WEventcardDraw(player, nb_cards);
g->receiveEvent(e);
}
return 1;
}