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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user