Skip to content

Commit

Permalink
Modified EffectDraw to take status into account
Browse files Browse the repository at this point in the history
  • Loading branch information
Turtyo committed Jan 9, 2024
1 parent de79fb3 commit 0504cef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cards/Effects/EffectDraw.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 0504cef

Please sign in to comment.