* Some interface updates.
This commit is contained in:
jean.chalard
2009-09-13 10:57:55 +00:00
parent 7c4fbde7d3
commit 1f67998d7a
5 changed files with 90 additions and 7 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ void Damage::init(MTGCardInstance * _source, Damageable * _target, int _damage){
int Damage::resolve(){
if (damage <0) damage = 0; //Negative damages cannot happen
state = RESOLVED_OK;
cout << "RESOLVE " << damage << " >> " << _target->name << endl;
GameObserver * g = GameObserver::GetInstance();
WEvent * e = NEW WEventDamage(this);