refactor: improve method name - checkShortLivingLKI

This commit is contained in:
xenohedron 2024-06-09 22:10:32 -04:00
parent aeaeccb63b
commit 0d4acf26e5
11 changed files with 14 additions and 11 deletions

View file

@ -1078,7 +1078,7 @@ public abstract class AbilityImpl implements Ability {
parameterSourceId = getSourceId();
}
// check against shortLKI for effects that move multiple object at the same time (e.g. destroy all)
if (game.getShortLivingLKI(getSourceId(), getZone())) {
if (game.checkShortLivingLKI(getSourceId(), getZone())) {
return true;
}
// check against current state