11 lines
253 B
GDScript
11 lines
253 B
GDScript
class_name BattleAction
|
|
|
|
var speedModifier:float
|
|
|
|
func _init(params:Dictionary) -> void:
|
|
self.speedModifier = params.get("speedModifier", 1.0)
|
|
|
|
func perform(params:Dictionary) -> void:
|
|
assert(params.has("user"))
|
|
assert(params.has("target"))
|
|
pass |