Implemented Spell Dialogs

This commit is contained in:
Thaum
2015-02-16 08:16:05 +00:00
parent b200478425
commit 360c9bd63b
15 changed files with 357 additions and 32 deletions

View File

@@ -1,24 +1,24 @@
colorOptions = {
"red": {whiteText: true},
"pink": {whiteText: true},
"purple": {whiteText: true},
"deep-purple": {whiteText: true},
"indigo": {whiteText: true},
"blue": {whiteText: true},
"light-blue": {whiteText: true},
"cyan": {whiteText: true},
"teal": {whiteText: true},
"green": {whiteText: true},
"light-green": {whiteText: true},
"lime": {whiteText: false},
"yellow": {whiteText: false},
"amber": {whiteText: false},
"orange": {whiteText: false},
"deep-orange": {whiteText: true},
"brown": {whiteText: true},
"grey": {whiteText: true}, //spec says no white text
"blue-grey": {whiteText: true},
"black": {whiteText: true},
"red": {whiteText: true, color: "#F44336"},
"pink": {whiteText: true, color: "#E91E63"},
"purple": {whiteText: true, color: "#9C27B0"},
"deep-purple": {whiteText: true, color: "#673AB7"},
"indigo": {whiteText: true, color: "#3F51B5"},
"blue": {whiteText: true, color: "#2196F3"},
"light-blue": {whiteText: true, color: "#03A9F4"},
"cyan": {whiteText: true, color: "#00BCD4"},
"teal": {whiteText: true, color: "#009688"},
"green": {whiteText: true, color: "#4CAF50"},
"light-green": {whiteText: true, color: "#8BC34A"},
"lime": {whiteText: false, color: "#CDDC39"},
"yellow": {whiteText: false, color: "#FFEB3B"},
"amber": {whiteText: false, color: "#FFC107"},
"orange": {whiteText: false, color: "#FF9800"},
"deep-orange": {whiteText: true, color: "#FF5722"},
"grey": {whiteText: true, color: "#9E9E9E"}, //spec says no white text
//"blue-grey": {whiteText: true, color: "#607D8B"},
"brown": {whiteText: true, color: "#795548"},
"black": {whiteText: true, color: "#000000"},
};
getColorClass = function(key){

View File

@@ -0,0 +1,9 @@
magicSchools = [
"Abjuration",
"Conjuration",
"Divination",
"Enchantment",
"Evocation",
"Illusion",
"Necromancy"
];