[UGL] small additional fix to Veiled Sentry

This commit is contained in:
theelk801 2023-04-11 22:16:20 -04:00
parent 77382152e7
commit e9a16606dc

View file

@ -55,6 +55,7 @@ class VeiledSentryEffect extends ContinuousEffectImpl {
public VeiledSentryEffect(final VeiledSentryEffect effect) { public VeiledSentryEffect(final VeiledSentryEffect effect) {
super(effect); super(effect);
this.spellMV = effect.spellMV;
} }
@Override @Override
@ -64,6 +65,7 @@ class VeiledSentryEffect extends ContinuousEffectImpl {
@Override @Override
public void init(Ability source, Game game) { public void init(Ability source, Game game) {
super.init(source, game);
Spell spell = (Spell) getValue("spellCast"); Spell spell = (Spell) getValue("spellCast");
if (spell != null) { if (spell != null) {
spellMV = spell.getManaValue(); spellMV = spell.getManaValue();