mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
ComputerUtil: mark keywordcounter as useless if Card already has that keyword
This commit is contained in:
@@ -2892,6 +2892,10 @@ public class ComputerUtil {
|
|||||||
}
|
}
|
||||||
return c.getCounters(type) > e;
|
return c.getCounters(type) > e;
|
||||||
}
|
}
|
||||||
|
// keyword counters
|
||||||
|
if (type.isKeywordCounter() && c.hasKeyword(type.toString())) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
return type.is(CounterEnumType.AWAKENING) || type.is(CounterEnumType.MANIFESTATION) || type.is(CounterEnumType.PETRIFICATION)
|
return type.is(CounterEnumType.AWAKENING) || type.is(CounterEnumType.MANIFESTATION) || type.is(CounterEnumType.PETRIFICATION)
|
||||||
|| type.is(CounterEnumType.TRAINING) || type.is(CounterEnumType.GHOSTFORM);
|
|| type.is(CounterEnumType.TRAINING) || type.is(CounterEnumType.GHOSTFORM);
|
||||||
|
|||||||
Reference in New Issue
Block a user