mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
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:
@@ -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) }
|
||||
|
||||
Reference in New Issue
Block a user