programming-game
Version:
The client for programming game, an mmorpg that you interact with entirely through code.
957 lines (956 loc) • 26.3 kB
JavaScript
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.items = void 0;
var spells_1 = require("./spells");
var generateArmor = function (id, name, type, defense) {
return {
id: id,
name: name,
type: type,
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
defense: defense,
},
};
};
var createCraftingIngredient = function (id, name, weight, buyPrice, sellPrice, deprecated) {
if (buyPrice === void 0) { buyPrice = 1; }
if (sellPrice === void 0) { sellPrice = 1; }
if (deprecated === void 0) { deprecated = false; }
var def = {
id: id,
name: name,
weight: weight,
type: "trash",
buyFromVendorPrice: buyPrice,
sellToVendorPrice: sellPrice,
};
if (deprecated) {
def.deprecated = true;
}
return def;
};
var createArmorGenerator = function (opts) {
return Object.entries(opts.items).reduce(function (acc, _a) {
var key = _a[0], val = _a[1];
acc[key] = generateArmor(key, val.name, val.type, opts.baseDefense);
return acc;
}, {});
};
var createSpellStone = function (spell, name) {
return {
id: spell,
type: "trash",
name: "".concat(name, " Spell Stone"),
weight: 5000,
buyFromVendorPrice: 0,
sellToVendorPrice: 0,
};
};
var glassVial = createCraftingIngredient("glassVial", "Glass Vial", 100);
var eyeJelly = createCraftingIngredient("eyeJelly", "Eye Jelly", 0.25);
var pinewoodArrowShaftWeight = 35;
var featherWeight = 0.1;
var stoneArrowHeadWeight = 7;
exports.items = __assign(__assign(__assign(__assign(__assign({
//#region crafting
arrowShaft: createCraftingIngredient("arrowShaft", "Arrow Shaft", 300, 3, 1, true), feather: createCraftingIngredient("feather", "Feather", featherWeight, 1, 1), snakeFangs: createCraftingIngredient("snakeFangs", "Snake Fangs", 7), woodLog: createCraftingIngredient("woodLog", "Wood Log", 5000, 18, 1, true), bitOfWood: createCraftingIngredient("bitOfWood", "Bit of Wood", 500, 2, 1, true), stoneArrowHead: createCraftingIngredient("stoneArrowHead", "Stone Arrow Head", stoneArrowHeadWeight, 3, 1), pinewoodLog: createCraftingIngredient("pinewoodLog", "Pinewood Log", 5000, 18, 1), pinewoodBits: createCraftingIngredient("pinewoodBits", "Pinewood Bits", 500, 2, 1), pinewoodArrowShaft: createCraftingIngredient("pinewoodArrowShaft", "Pinewood Arrow Shaft", pinewoodArrowShaftWeight, 3, 1), ratPelt: createCraftingIngredient("ratPelt", "Rat Pelt", 100), copperNeedle: createCraftingIngredient("copperNeedle", "Copper Needle", 0.5), coarseThread: createCraftingIngredient("coarseThread", "Coarse Thread", 0.5), eyeJelly: eyeJelly, snakeSkinLeather: createCraftingIngredient("snakeSkinLeather", "Snakeskin Leather", 1000), glassVial: glassVial, minorHealthPotion: {
id: "minorHealthPotion",
name: "Minor Health Potion",
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
weight: glassVial.weight + eyeJelly.weight,
type: "usable",
}, medicatedBandage: {
id: "medicatedBandage",
name: "Medicated Bandage",
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
weight: 0.1,
type: "usable",
}, digesta: createCraftingIngredient("digesta", "Digesta", 100), leatherStrips: createCraftingIngredient("leatherStrips", "Leather Strips", 100), lightLeather: createCraftingIngredient("lightLeather", "Light Leather", 1000),
// cloths
// tier 1
tatteredCottonCloth: createCraftingIngredient("tatteredCottonCloth", "Tattered Cotton Cloth", 100), cottonCloth: createCraftingIngredient("cottonCloth", "Cotton Cloth", 1000), boltOfCottonCloth: createCraftingIngredient("boltOfCottonCloth", "Bolt of Cotton Cloth", 10000), tatteredLinenCloth: createCraftingIngredient("tatteredLinenCloth", "Tattered Linen Cloth", 100), linenCloth: createCraftingIngredient("linenCloth", "Linen Cloth", 1000), boltOfLinenCloth: createCraftingIngredient("boltOfLinenCloth", "Bolt of Linen Cloth", 10000), tatteredWoolCloth: createCraftingIngredient("tatteredWoolCloth", "Tattered Wool Cloth", 100), woolCloth: createCraftingIngredient("woolCloth", "Wool Cloth", 1000), boltOfWoolCloth: createCraftingIngredient("boltOfWoolCloth", "Bolt of Wool Cloth", 10000), snakeSkin: {
id: "snakeSkin",
name: "Snake Skin",
type: "trash",
weight: 100,
buyFromVendorPrice: 1,
sellToVendorPrice: 1,
}, stone: {
id: "stone",
name: "Stone",
type: "trash",
weight: 1000,
buyFromVendorPrice: 10,
sellToVendorPrice: 1,
}, flint: {
id: "flint",
name: "Flint",
type: "trash",
weight: 1000,
buyFromVendorPrice: 10,
sellToVendorPrice: 1,
}, stoneCutterTools: {
id: "stoneCutterTools",
name: "Stone Cutting Tools",
type: "trash",
weight: 5000,
buyFromVendorPrice: 1000,
sellToVendorPrice: 10,
}, campfireKit: {
id: "campfireKit",
name: "Campfire Kit",
type: "trash",
weight: 3000,
buyFromVendorPrice: 1000,
sellToVendorPrice: 100,
}, anvil: {
id: "anvil",
name: "Anvil",
type: "trash",
weight: 10000,
buyFromVendorPrice: 1000,
sellToVendorPrice: 100,
}, stoneCarvingKnife: {
id: "stoneCarvingKnife",
name: "Stone Carving Knife",
type: "trash",
weight: 500,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
}, mortarAndPestle: {
id: "mortarAndPestle",
name: "Mortar and Pestle",
type: "trash",
weight: 500,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
}, furnace: {
id: "furnace",
name: "Furnace",
type: "trash",
weight: 10000,
buyFromVendorPrice: 1,
sellToVendorPrice: 1,
}, copperIngot: {
id: "copperIngot",
name: "Copper Ingot",
type: "trash",
weight: 3000,
buyFromVendorPrice: 3000,
sellToVendorPrice: 300,
}, chunkOfCopper: {
id: "chunkOfCopper",
name: "Chunk of Copper",
type: "trash",
weight: 1000,
buyFromVendorPrice: 1000,
sellToVendorPrice: 100,
}, woodPommel: {
id: "woodPommel",
name: "Wood Pommel",
type: "trash",
weight: 1000,
buyFromVendorPrice: 1,
sellToVendorPrice: 1,
deprecated: true,
}, pinewoodPommel: {
id: "pinewoodPommel",
name: "Pinewood Pommel",
type: "trash",
weight: 1000,
buyFromVendorPrice: 1,
sellToVendorPrice: 1,
},
//#endregion crafting
//#region consumables
ratMeat: {
id: "ratMeat",
name: "Rat Meat",
type: "food",
weight: 400,
buyFromVendorPrice: 0.5,
sellToVendorPrice: 0.5,
calories: 200,
}, snakeMeat: {
id: "snakeMeat",
name: "Snake Meat",
type: "food",
weight: 1000,
calories: 500,
buyFromVendorPrice: 0.5,
sellToVendorPrice: 0.5,
}, edibleSlime: {
id: "edibleSlime",
name: "Edible Slime",
type: "food",
weight: 100,
calories: 3000,
buyFromVendorPrice: 1000,
sellToVendorPrice: 100,
}, chickenMeat: {
id: "chickenMeat",
name: "Chicken Meat",
type: "food",
weight: 1000,
calories: 500,
buyFromVendorPrice: 0.5,
sellToVendorPrice: 0.5,
},
//#endregion consumables
//#region ammo
woodenArrow: {
id: "woodenArrow",
type: "ammo",
ammoType: "arrow",
name: "Wooden Arrow",
weight: 1,
buyFromVendorPrice: 1,
sellToVendorPrice: 1,
stats: {
attack: 1,
},
deprecated: true,
}, pinewoodArrow: {
id: "pinewoodArrow",
type: "ammo",
ammoType: "arrow",
name: "Pinewood Arrow",
// combined weight of the arrow shaft, feather, and stone arrow head
weight: pinewoodArrowShaftWeight + 1 + stoneArrowHeadWeight,
buyFromVendorPrice: 1,
sellToVendorPrice: 1,
stats: {
attack: 1,
},
}, woodenBolt: {
id: "woodenBolt",
type: "ammo",
ammoType: "bolt",
name: "Wooden Bolt",
weight: 1,
buyFromVendorPrice: 1,
sellToVendorPrice: 1,
stats: {
attack: 1,
},
deprecated: true,
},
//#endregion ammo
//#region random
snakeVenom: {
id: "snakeVenom",
name: "Snake Venom",
type: "trash",
weight: 10,
buyFromVendorPrice: 1,
sellToVendorPrice: 1,
}, snakeEyes: {
id: "snakeEyes",
name: "Snake Eyes",
type: "trash",
weight: 10,
buyFromVendorPrice: 10,
sellToVendorPrice: 1,
},
//#endregion random
//#region weapons
//#region staffs
woodenStaff: {
id: "woodenStaff",
name: "Wooden Staff",
type: "staff",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
attack: 1,
},
deprecated: true,
}, copperStaff: {
id: "copperStaff",
name: "Copper Staff",
type: "staff",
weight: 1000,
buyFromVendorPrice: 200,
sellToVendorPrice: 20,
stats: {
attack: 2,
},
deprecated: true,
}, ironStaff: {
id: "ironStaff",
name: "Iron Staff",
type: "staff",
weight: 1000,
buyFromVendorPrice: 300,
sellToVendorPrice: 30,
stats: {
attack: 3,
},
deprecated: true,
}, steelStaff: {
id: "steelStaff",
name: "Steel Staff",
type: "staff",
weight: 1000,
buyFromVendorPrice: 400,
sellToVendorPrice: 40,
stats: {
attack: 4,
},
deprecated: true,
}, goldStaff: {
id: "goldStaff",
name: "Gold Staff",
type: "staff",
weight: 1000,
buyFromVendorPrice: 500,
sellToVendorPrice: 50,
stats: {
attack: 5,
},
deprecated: true,
}, platinumStaff: {
id: "platinumStaff",
name: "Platinum Staff",
type: "staff",
weight: 1000,
buyFromVendorPrice: 600,
sellToVendorPrice: 60,
stats: {
attack: 6,
},
deprecated: true,
},
//#endregion staffs
//#region wooden
woodenDagger: {
id: "woodenDagger",
name: "Wooden Dagger",
type: "dagger",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
attack: 1,
},
deprecated: true,
}, woodenSword: {
id: "woodenSword",
name: "Wooden Sword",
type: "oneHandedSword",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
attack: 2,
},
deprecated: true,
}, pinewoodSword: {
id: "pinewoodSword",
name: "Pinewood Sword",
type: "dagger",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
attack: 1,
},
},
//#endregion wooden
//#region stone weapons
stoneFellingAxe: {
id: "stoneFellingAxe",
name: "Stone Felling Axe",
type: "fellingAxe",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
attack: 2.5,
},
}, stonePickaxe: {
id: "stonePickaxe",
name: "Stone Pickaxe",
type: "pickaxe",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
attack: 2.5,
},
},
//#endregion stone weapons
/**
* copper weapons
*/
copperDagger: {
id: "copperDagger",
name: "Copper Dagger",
type: "dagger",
weight: 500,
buyFromVendorPrice: 200,
sellToVendorPrice: 20,
stats: {
attack: 2,
},
}, copperSword: {
id: "copperSword",
name: "Copper Sword",
type: "oneHandedSword",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
attack: 3,
},
}, copperGreatSword: {
id: "copperGreatSword",
name: "Copper Greatsword",
type: "twoHandedSword",
weight: 2000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
attack: 5,
},
},
/**
* iron weapons
*/
ironDagger: {
id: "ironDagger",
name: "Iron Dagger",
type: "dagger",
weight: 1000,
buyFromVendorPrice: 300,
sellToVendorPrice: 30,
stats: {
attack: 3,
},
}, ironSword: {
id: "ironSword",
name: "Iron Sword",
type: "oneHandedSword",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
attack: 4,
},
},
/**
* steel weapons
*/
steelDagger: {
id: "steelDagger",
name: "Steel Dagger",
type: "dagger",
weight: 1000,
buyFromVendorPrice: 300,
sellToVendorPrice: 30,
stats: {
attack: 4,
},
}, steelSword: {
id: "steelSword",
name: "Steel Sword",
type: "oneHandedSword",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
attack: 5,
},
},
/**
* gold weapons
*/
goldDagger: {
id: "goldDagger",
name: "Gold Dagger",
type: "dagger",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
attack: 5,
},
}, goldSword: {
id: "goldSword",
name: "Gold Sword",
type: "oneHandedSword",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
attack: 6,
},
},
/**
* platinum weapons
*/
platinumDagger: {
id: "platinumDagger",
name: "Platinum Dagger",
type: "dagger",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
attack: 6,
},
}, platinumSword: {
id: "platinumSword",
name: "Platinum Sword",
type: "oneHandedSword",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
attack: 7,
},
},
/**
* Shields
*/
woodenShield: {
id: "woodenShield",
name: "Wooden Shield",
type: "shield",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
defense: 1,
},
deprecated: true,
}, pinewoodShield: {
id: "pinewoodShield",
name: "Pinewood Shield",
type: "shield",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
defense: 1,
},
}, copperShield: {
id: "copperShield",
name: "Copper Shield",
type: "shield",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
defense: 2,
},
}, ironShield: {
id: "ironShield",
name: "Iron Shield",
type: "shield",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
defense: 3,
},
}, steelShield: {
id: "steelShield",
name: "Steel Shield",
type: "shield",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
defense: 4,
},
}, goldShield: {
id: "goldShield",
name: "Gold Shield",
type: "shield",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
defense: 5,
},
}, platinumShield: {
id: "platinumShield",
name: "Platinum Shield",
type: "shield",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
defense: 6,
},
},
/**
* Bows
*/
woodenBow: {
id: "woodenBow",
name: "Wooden Bow",
type: "bow",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
attack: 0,
},
deprecated: true,
}, pinewoodBow: {
id: "pinewoodBow",
name: "Pinewood Bow",
type: "bow",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
attack: 0,
},
}, copperBow: {
id: "copperBow",
name: "Copper Bow",
type: "bow",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
attack: 1,
},
deprecated: true,
}, ironBow: {
id: "ironBow",
name: "Iron Bow",
type: "bow",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
attack: 2,
},
deprecated: true,
}, steelBow: {
id: "steelBow",
name: "Steel Bow",
type: "bow",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
attack: 3,
},
deprecated: true,
}, goldBow: {
id: "goldBow",
name: "Gold Bow",
type: "bow",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
attack: 4,
},
deprecated: true,
}, platinumBow: {
id: "platinumBow",
name: "Platinum Bow",
type: "bow",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {
attack: 5,
},
deprecated: true,
},
/**
* crossbows
*/
woodenCrossbow: {
id: "woodenCrossbow",
name: "Wooden Crossbow",
type: "crossbow",
weight: 1000,
buyFromVendorPrice: 200,
sellToVendorPrice: 20,
stats: {
attack: 0,
},
deprecated: true,
}, pinewoodCrossbow: {
id: "pinewoodCrossbow",
name: "Pinewood Crossbow",
type: "crossbow",
weight: 1000,
buyFromVendorPrice: 200,
sellToVendorPrice: 20,
stats: {
attack: 0,
},
deprecated: true,
}, copperCrossbow: {
id: "copperCrossbow",
name: "Copper Crossbow",
type: "crossbow",
weight: 1000,
buyFromVendorPrice: 200,
sellToVendorPrice: 20,
stats: {
attack: 1,
},
deprecated: true,
}, ironCrossbow: {
id: "ironCrossbow",
name: "Iron Crossbow",
type: "crossbow",
weight: 1000,
buyFromVendorPrice: 200,
sellToVendorPrice: 20,
stats: {
attack: 2,
},
deprecated: true,
}, steelCrossbow: {
id: "steelCrossbow",
name: "Steel Crossbow",
type: "crossbow",
weight: 1000,
buyFromVendorPrice: 200,
sellToVendorPrice: 20,
stats: {
attack: 3,
},
deprecated: true,
}, goldCrossbow: {
id: "goldCrossbow",
name: "Gold Crossbow",
type: "crossbow",
weight: 1000,
buyFromVendorPrice: 200,
sellToVendorPrice: 20,
stats: {
attack: 4,
},
deprecated: true,
}, platinumCrossbow: {
id: "platinumCrossbow",
name: "Platinum Crossbow",
type: "crossbow",
weight: 1000,
buyFromVendorPrice: 200,
sellToVendorPrice: 20,
stats: {
attack: 5,
},
deprecated: true,
}, copperCoin: {
id: "copperCoin",
name: "Copper Coin",
type: "trash",
weight: 1,
buyFromVendorPrice: 1,
sellToVendorPrice: 1,
},
//#region grimmoires
basicGrimmoire: {
id: "basicGrimmoire",
name: "Basic Grimmoire",
type: "grimmoire",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {},
spells: {},
}, adeptsGrimmoire: {
id: "adeptsGrimmoire",
name: "Adept's Grimmoire",
type: "grimmoire",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {},
spells: {},
}, mastersGrimmoire: {
id: "mastersGrimmoire",
name: "Master's Grimmoire",
type: "grimmoire",
weight: 1000,
buyFromVendorPrice: 100,
sellToVendorPrice: 10,
stats: {},
spells: {},
}, cheatersGrimmoire: {
id: "cheatersGrimmoire",
name: "Cheater's Grimmoire",
type: "grimmoire",
weight: 1000,
buyFromVendorPrice: 0,
sellToVendorPrice: 0,
stats: {},
spells: Object.keys(spells_1.spellMap).reduce(function (acc, spell) {
acc[spell] = true;
return acc;
}, {}),
deprecated: true,
},
//#endregion grimmoires
//#endregion weapons
minorManaRing: {
id: "minorManaRing",
name: "Minor Mana Ring",
type: "ring",
weight: 1000,
buyFromVendorPrice: 1000,
sellToVendorPrice: 100,
stats: {
maxHp: -10,
maxMp: 10,
},
}, minorManaAmulet: {
id: "minorManaAmulet",
name: "Minor Mana Amulet",
type: "amulet",
weight: 1000,
buyFromVendorPrice: 1000,
sellToVendorPrice: 100,
stats: {
maxHp: -10,
maxMp: 10,
},
}, cheatersManaRing: {
id: "cheatersManaRing",
name: "Cheater's Mana Ring",
type: "ring",
weight: 1000,
buyFromVendorPrice: 0,
sellToVendorPrice: 0,
stats: {
maxMp: 100,
mpRegen: 10,
},
deprecated: true,
} }, createArmorGenerator({
baseDefense: 1,
baseWeight: 1000,
items: {
cottonHood: {
name: "Cotton Hood",
type: "helm",
},
cottonPants: {
name: "Cotton Pants",
type: "legs",
},
cottonShirt: {
name: "Cotton Shirt",
type: "chest",
},
cottonBoots: {
name: "Cotton Boots",
type: "feet",
},
cottonGloves: {
name: "Cotton Gloves",
type: "hands",
},
},
})), createArmorGenerator({
baseDefense: 2,
baseWeight: 1500,
items: {
lightLeatherHelm: {
name: "Light Leather Cap",
type: "helm",
},
lightLeatherChest: {
name: "Light Leather Tunic",
type: "chest",
},
lightLeatherLegs: {
name: "Light Leather Greaves",
type: "legs",
},
lightLeatherBoots: {
name: "Light Leather Boots",
type: "feet",
},
lightLeatherGloves: {
name: "Light Leather Gloves",
type: "hands",
},
},
})), createArmorGenerator({
baseDefense: 2,
baseWeight: 1000,
items: {
snakeSkinHelm: {
name: "Snake Skin Cap",
type: "helm",
},
snakeSkinChest: {
name: "Snake Skin Tunic",
type: "chest",
},
snakeSkinLegs: {
name: "Snake Skin Greaves",
type: "legs",
},
snakeSkinBoots: {
name: "Snake Skin Boots",
type: "feet",
},
snakeSkinGloves: {
name: "Snake Skin Gloves",
type: "hands",
},
},
})), createArmorGenerator({
baseDefense: 3,
baseWeight: 2000,
items: {
copperMailHelm: {
name: "Copper Mail Coif",
type: "helm",
},
copperMailChest: {
name: "Copper Chain Vest",
type: "chest",
},
copperMailLegs: {
name: "Copper Chain Leggings",
type: "legs",
},
copperMailBoots: {
name: "Copper Chainmail Boots",
type: "feet",
},
copperMailGloves: {
name: "Copper Chain Gloves",
type: "hands",
},
},
})), {
// mail
// ...generateRings(),
//#endregion end armor
//#region spell stones
aid_digestion: createSpellStone("aid_digestion", "Aid Digestion"), ballOfIce: createSpellStone("ballOfIce", "Ball of Ice"), chill: createSpellStone("chill", "Chill"), fireball: createSpellStone("fireball", "Fireball"), flashFreeze: createSpellStone("flashFreeze", "Flash Freeze"), iceArmor: createSpellStone("iceArmor", "Ice Armor"), icicle: createSpellStone("icicle", "Icicle"), heal: createSpellStone("heal", "Heal"), regen: createSpellStone("regen", "Regen") });