[
  {
    "id": "cold_energy",
    "type": "SPELL",
    "name": { "str": "Ice Fog" },
    "description": "Using your mana, you began to accelerate ice particles inside a cold mist, eroding everything inside.",
    "valid_targets": [ "self" ],
    "flags": [ "CHANNELING_SPELL", "SOMATIC", "VERBAL", "NO_LEGS", "MUST_HAVE_CLASS_TO_LEARN" ],
    "extra_effects": [ { "id": "eoc_channeling_setup", "hit_self": true } ],
    "effect": "spawn_item",
    "effect_str": "aura_cold_energy",
    "shape": "blast",
    "spell_class": "PERMAFROST_MAGE",
    "magic_type": "magiclysm_generic_magic",
    "difficulty": 9,
    "max_level": 35,
    "base_casting_time": 600,
    "casting_time_increment": -15,
    "final_casting_time": 200,
    "base_energy_cost": 800,
    "energy_increment": -15,
    "final_energy_cost": 400,
    "min_damage": 1,
    "max_damage": 1,
    "min_duration": 10000,
    "max_duration": 45000,
    "duration_increment": 2300
  },
  {
    "id": "aura_cold_energy",
    "type": "ITEM",
    "subtypes": [ "ARMOR", "ARTIFACT" ],
    "name": "Ice Orbit",
    "//": "dirty hack till emit spell would be fixed",
    "description": "Small particles of ice orbit around your body, as a beacon for a giant field of frozen energy.",
    "weight": "1 g",
    "volume": "1 ml",
    "symbol": "o",
    "color": "blue",
    "material": [ "magical_material" ],
    "flags": [ "AURA", "TRADER_AVOID", "NO_TAKEOFF", "NONCONDUCTIVE", "OVERSIZE", "UNBREAKABLE", "ALLOWS_NATURAL_ATTACKS" ],
    "max_worn": 1,
    "passive_effects": [ { "has": "WORN", "condition": "ALWAYS", "emitter": "emit_cold_energy_strong" } ]
  },
  {
    "id": "permafrost_mage_ice_age",
    "type": "SPELL",
    "name": "Ice Age",
    "description": "Cool down every creature in range 'till their flesh cracks, bones shatter, and armor fractures.",
    "effect": "attack",
    "effect_str": "cold",
    "shape": "blast",
    "valid_targets": [ "hostile", "ground" ],
    "flags": [ "EVOCATION_SPELL", "RANDOM_DAMAGE", "SOMATIC", "VERBAL", "NO_LEGS", "MUST_HAVE_CLASS_TO_LEARN", "SPLIT_DAMAGE" ],
    "extra_effects": [ { "id": "eoc_evocation_setup", "hit_self": true } ],
    "max_level": 35,
    "min_damage": { "math": [ "(u_spell_level('permafrost_mage_ice_age') * 0.9) + 5" ] },
    "max_damage": { "math": [ "(u_spell_level('permafrost_mage_ice_age') * 2.1) + 12" ] },
    "min_dot": 0,
    "max_dot": 8,
    "dot_increment": 0.2,
    "min_aoe": 3,
    "max_aoe": 9,
    "aoe_increment": 0.2,
    "min_range": 5,
    "max_range": 40,
    "range_increment": 1,
    "spell_class": "PERMAFROST_MAGE",
    "base_casting_time": 500,
    "casting_time_increment": -15,
    "final_casting_time": 100,
    "base_energy_cost": 700,
    "energy_increment": -15,
    "final_energy_cost": 300,
    "min_duration": 500,
    "max_duration": 18000,
    "duration_increment": 500,
    "magic_type": "magiclysm_generic_magic",
    "difficulty": 7,
    "damage_type": "cold"
  }
]
