Commit febc9f01 authored by twanvl's avatar twanvl

partially work around #64

parent 6db20922
...@@ -348,7 +348,7 @@ long_dash := replace@(match:"-", replace:"—") ...@@ -348,7 +348,7 @@ long_dash := replace@(match:"-", replace:"—")
# Utilities for keywords # Utilities for keywords
has_cc := { card.casting_cost != "" } has_cc := { card.casting_cost != "" }
has_pt := { card.pt != "" } has_pt := { card.power != "" or card.toughness != "" }
contains_target := match@(match:"(?i)([^a-z]|^)target([^a-z]|$)") contains_target := match@(match:"(?i)([^a-z]|^)target([^a-z]|$)")
is_targeted := { contains_target(card.rule_text) } is_targeted := { contains_target(card.rule_text) }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment