mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 13:37:00 -04:00
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
This commit is contained in:
@@ -1119,11 +1119,21 @@ statistics dimension:
|
|||||||
split list: true
|
split list: true
|
||||||
icon: stats/keywords.png
|
icon: stats/keywords.png
|
||||||
|
|
||||||
#statistics dimension:
|
statistics dimension:
|
||||||
# name: p/t
|
name: race
|
||||||
# script: card.pt
|
description: Race of creatures and tribal cards
|
||||||
# numeric: true
|
script:
|
||||||
# icon: stats/power.png
|
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:
|
#statistics dimension:
|
||||||
# name: word count
|
# name: word count
|
||||||
@@ -1187,6 +1197,13 @@ statistics category:
|
|||||||
dimension: colored mana cost
|
dimension: colored mana cost
|
||||||
dimension: card color
|
dimension: card color
|
||||||
|
|
||||||
|
statistics category:
|
||||||
|
name: creature race / class
|
||||||
|
type: scatter pie
|
||||||
|
dimension: race
|
||||||
|
dimension: creature class
|
||||||
|
dimension: card color
|
||||||
|
|
||||||
#statistics field:
|
#statistics field:
|
||||||
# name: creature type
|
# name: creature type
|
||||||
# data 1:
|
# data 1:
|
||||||
|
|||||||
Reference in New Issue
Block a user