From 0504cefe479ec62dacb6a582c1fda1501748eeff Mon Sep 17 00:00:00 2001 From: Turtyo <49365680+Turtyo@users.noreply.github.com> Date: Tue, 9 Jan 2024 21:07:35 +0100 Subject: [PATCH] Modified EffectDraw to take status into account --- Cards/Effects/EffectDraw.gd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cards/Effects/EffectDraw.gd b/Cards/Effects/EffectDraw.gd index d049edd3..aa3bd2ee 100644 --- a/Cards/Effects/EffectDraw.gd +++ b/Cards/Effects/EffectDraw.gd @@ -3,4 +3,5 @@ class_name EffectDraw extends EffectBase # @Override @warning_ignore("unused_parameter") func apply_effect(caster: Entity, target: Entity, value: int) -> void: - CardManager.card_container.draw_cards(value) + var modified_value: int = calculate_value("draw", caster, target, value) + CardManager.card_container.draw_cards(modified_value)