This commit is contained in:
2026-01-16 22:01:19 -06:00
parent 346e3f0607
commit c46afdac76
5 changed files with 48 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
class_name BattleItem extends BattleAction
var stack:ItemStack
func _init(params:Dictionary) -> void:
super(params)
assert(params.has("stack"))
self.stack = params.get("stack")
func perform(params:Dictionary) -> void:
super.perform(params)
var user:BattleFighter = params.get("user")
var target:BattleFighter = params.get("target")