partially work around #64

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1624 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2011-01-19 22:15:14 +00:00
parent c89668fdb4
commit ee07a2824e
+1 -1
View File
@@ -348,7 +348,7 @@ long_dash := replace@(match:"-", replace:"—")
# Utilities for keywords
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]|$)")
is_targeted := { contains_target(card.rule_text) }