implement [PIP] Animal Friend

closes #12432
This commit is contained in:
xenohedron 2024-09-06 23:18:18 -04:00
parent eb0ed8d630
commit f987571a39
3 changed files with 142 additions and 1 deletions

View file

@ -50,7 +50,7 @@ public class GainAbilityWithAttachmentEffect extends ContinuousEffectImpl {
this.effects.addAll(effect.effects);
this.targets.addAll(effect.targets);
this.costs.addAll(effect.costs);
this.useAttachedCost = effect.useAttachedCost.copy();
this.useAttachedCost = effect.useAttachedCost == null ? null : effect.useAttachedCost.copy();
}
@Override