Skip to content

Commit 0d26a41

Browse files
fix(OpErase): scale media cost appropriately with stack size, fixes #948
1 parent c64e5d7 commit 0d26a41

File tree

1 file changed

+2
-1
lines changed
  • Common/src/main/java/at/petrak/hexcasting/common/casting/actions/spells

1 file changed

+2
-1
lines changed

Common/src/main/java/at/petrak/hexcasting/common/casting/actions/spells/OpErase.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ object OpErase : SpellAction {
3535

3636
return SpellAction.Result(
3737
Spell(handStack),
38-
MediaConstants.DUST_UNIT, listOf()
38+
MediaConstants.DUST_UNIT * handStack.getCount(),
39+
listOf(),
3940
)
4041
}
4142

0 commit comments

Comments
 (0)