improve targetMap usage, naming, docs per review

This commit is contained in:
xenohedron 2023-09-24 00:22:21 -04:00
parent cd5ee1c31d
commit 1b9bcb92e6
8 changed files with 25 additions and 20 deletions

View file

@ -68,7 +68,7 @@ public class BecomesTargetSourceTriggeredAbility extends TriggeredAbilityImpl {
if (targetingObject == null || !filter.match(targetingObject, getControllerId(), this, game)) {
return false;
}
if (!CardUtil.checkTargetMap(this.id, targetingObject, event, game)) {
if (CardUtil.checkTargetedEventAlreadyUsed(this.id.toString(), targetingObject, event, game)) {
return false;
}
switch (setTargetPointer) {