From ee07a2824ec872b2b6f09026b07518c1332606fc Mon Sep 17 00:00:00 2001 From: twanvl Date: Wed, 19 Jan 2011 22:15:14 +0000 Subject: [PATCH] partially work around #64 git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1624 0fc631ac-6414-0410-93d0-97cfa31319b6 --- data/magic.mse-game/script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/magic.mse-game/script b/data/magic.mse-game/script index ed1b5381..f8d6777b 100644 --- a/data/magic.mse-game/script +++ b/data/magic.mse-game/script @@ -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) }