Fixed Angel of Vitality in M20 set and added new keyword "except" for @lifeof trigger in order to avoid a life gain loop when a card needs to increment life gaining in that phase (eg. Angel of Vitality).
This commit is contained in:
@@ -269,7 +269,7 @@ int Damage::resolve()
|
||||
source->controller()->prowledTypes.push_back(values[i]);
|
||||
}
|
||||
}
|
||||
WEvent * lifed = NEW WEventLife((Player*)target,-damage);
|
||||
WEvent * lifed = NEW WEventLife((Player*)target,-damage, source);
|
||||
observer->receiveEvent(lifed);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user