v3.0.0: fixed recent recall inscription fix resulting in 0 charge cost

This commit is contained in:
Evan Debenham
2025-01-06 14:32:45 -05:00
parent 32e51b59f5
commit 265805f283

View File

@@ -65,7 +65,6 @@ public class RecallInscription extends ClericSpell {
}
Item item = Reflection.newInstance(hero.buff(UsedItemTracker.class).item);
hero.buff(UsedItemTracker.class).detach();
item.setCurrent(hero);
@@ -85,6 +84,9 @@ public class RecallInscription extends ClericSpell {
}
onSpellCast(tome, hero);
if (hero.buff(UsedItemTracker.class) != null){
hero.buff(UsedItemTracker.class).detach();
}
}