From 6dceccd6cb8d84855cddc17d9e8a66ce0970ef32 Mon Sep 17 00:00:00 2001 From: twanvl Date: Tue, 28 Aug 2007 21:41:06 +0000 Subject: [PATCH] Added statistics of creature race and class git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@639 0fc631ac-6414-0410-93d0-97cfa31319b6 --- data/magic.mse-game/game | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/data/magic.mse-game/game b/data/magic.mse-game/game index 658cdee2..a798e9ce 100644 --- a/data/magic.mse-game/game +++ b/data/magic.mse-game/game @@ -1119,11 +1119,21 @@ statistics dimension: split list: true icon: stats/keywords.png -#statistics dimension: -# name: p/t -# script: card.pt -# numeric: true -# icon: stats/power.png +statistics dimension: + name: race + description: Race of creatures and tribal cards + script: + if is_creature(card.super_type) or is_tribal(card.super_type) then + only_first(card.sub_type) + show empty: false +statistics dimension: + name: creature class + description: Class of creature cards + script: + if is_creature(card.super_type) then + space_to_comma(trim(remove_tags(only_next(card.sub_type)))) + show empty: false + split list: true #statistics dimension: # name: word count @@ -1187,6 +1197,13 @@ statistics category: dimension: colored mana cost dimension: card color +statistics category: + name: creature race / class + type: scatter pie + dimension: race + dimension: creature class + dimension: card color + #statistics field: # name: creature type # data 1: