7 lines
184 B
GDScript
7 lines
184 B
GDScript
class_name HealEffect extends Effect
|
|
|
|
@export var heal_amount: int
|
|
|
|
func apply_effect (orign_entity: Entity, target_entity: Entity)-> void:
|
|
target_entity.increase_health(heal_amount)
|