瀏覽代碼

Split spell config.

It`s aready large and will grow more.
AlexVinS 11 年之前
父節點
當前提交
1d7c63da57
共有 6 個文件被更改,包括 3776 次插入3759 次删除
  1. 8 4
      config/gameConfig.json
  2. 681 0
      config/spells/ability.json
  3. 242 0
      config/spells/adventure.json
  4. 404 0
      config/spells/offensive.json
  5. 463 0
      config/spells/other.json
  6. 1978 3755
      config/spells/timed.json

+ 8 - 4
config/gameConfig.json

@@ -60,8 +60,12 @@
 		"config/bonuses.json",
 		"config/bonuses_texts.json"
 	],
-        "spells" :
-        [
-                "config/spell_info.json"
-        ]
+	"spells" :
+	[
+		"config/spells/adventure.json",
+		"config/spells/offensive.json",
+		"config/spells/other.json",
+		"config/spells/timed.json",
+		"config/spells/ability.json"
+	]
 }

+ 681 - 0
config/spells/ability.json

@@ -0,0 +1,681 @@
+{
+	"stoneGaze" : {
+		"index" : 70,
+		"anim" : 70,
+		"sounds": {
+			"cast": "PARALYZE"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"notActive" : {
+						"val" : 0,
+						"type" : "NOT_ACTIVE",
+						"subtype" : 62,
+						"duration" : [
+							"UNITL_BEING_ATTACKED",
+							"N_TURNS"
+						]
+					},
+					"noRetaliation" : {
+						"val" : 0,
+						"type" : "NO_RETALIATION",
+						"duration" : "UNITL_BEING_ATTACKED"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"notActive" : {
+						"val" : 0,
+						"type" : "NOT_ACTIVE",
+						"subtype" : 62,
+						"duration" : [
+							"UNITL_BEING_ATTACKED",
+							"N_TURNS"
+						]
+					},
+					"noRetaliation" : {
+						"val" : 0,
+						"type" : "NO_RETALIATION",
+						"duration" : "UNITL_BEING_ATTACKED"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"notActive" : {
+						"val" : 0,
+						"type" : "NOT_ACTIVE",
+						"subtype" : 62,
+						"duration" : [
+							"UNITL_BEING_ATTACKED",
+							"N_TURNS"
+						]
+					},
+					"noRetaliation" : {
+						"val" : 0,
+						"type" : "NO_RETALIATION",
+						"duration" : "UNITL_BEING_ATTACKED"
+					}
+				}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"notActive" : {
+						"val" : 0,
+						"type" : "NOT_ACTIVE",
+						"subtype" : 62,
+						"duration" : [
+							"UNITL_BEING_ATTACKED",
+							"N_TURNS"
+						]
+					},
+					"noRetaliation" : {
+						"val" : 0,
+						"type" : "NO_RETALIATION",
+						"duration" : "UNITL_BEING_ATTACKED"
+					}
+				}
+			}
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	},
+	"poison" : {
+		"index" : 71,
+		"anim" : 67,
+		"sounds": {
+			"cast": "POISON"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"poison" : {
+						"val" : 30,
+						"type" : "POISON",
+						"valueType" : "INDEPENDENT_MAX",
+						"duration" : "N_TURNS"
+					},
+					"stackHealth" : {
+						"val" : -10,
+						"type" : "STACK_HEALTH",
+						"valueType" : "PERCENT_TO_ALL",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"poison" : {
+						"val" : 30,
+						"type" : "POISON",
+						"valueType" : "INDEPENDENT_MAX",
+						"duration" : "N_TURNS"
+					},
+					"stackHealth" : {
+						"val" : -10,
+						"type" : "STACK_HEALTH",
+						"valueType" : "PERCENT_TO_ALL",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"poison" : {
+						"val" : 30,
+						"type" : "POISON",
+						"valueType" : "INDEPENDENT_MAX",
+						"duration" : "N_TURNS"
+					},
+					"stackHealth" : {
+						"val" : -10,
+						"type" : "STACK_HEALTH",
+						"valueType" : "PERCENT_TO_ALL",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"poison" : {
+						"val" : 30,
+						"type" : "POISON",
+						"valueType" : "INDEPENDENT_MAX",
+						"duration" : "N_TURNS"
+					},
+					"stackHealth" : {
+						"val" : -10,
+						"type" : "STACK_HEALTH",
+						"valueType" : "PERCENT_TO_ALL",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"immunity" : {
+			"UNDEAD": true,
+			"NON_LIVING": true
+		},
+		"flags" : {
+			"negative": true
+		}
+	},
+	"bind" : {
+		"index" : 72,
+		"anim" : 68,
+		"sounds": {
+			"cast": "BIND"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"effects" : {
+					"bindEffect" : {
+						"val" : 0,
+						"type" : "BIND_EFFECT",
+						"duration" : "PERMANENT",
+						"addInfo" : -1
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"effects" : {
+					"bindEffect" : {
+						"val" : 0,
+						"type" : "BIND_EFFECT",
+						"duration" : "PERMANENT",
+						"addInfo" : -1
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"effects" : {
+					"bindEffect" : {
+						"val" : 0,
+						"type" : "BIND_EFFECT",
+						"duration" : "PERMANENT",
+						"addInfo" : -1
+					}
+				}
+			},
+			"expert":{
+				"range" : "0",
+				"effects" : {
+					"bindEffect" : {
+						"val" : 0,
+						"type" : "BIND_EFFECT",
+						"duration" : "PERMANENT",
+						"addInfo" : -1
+					}
+				}
+			}
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	},
+	"disease" : {
+		"index" : 73,
+		"anim" : 69,
+		"sounds": {
+			"cast": "DISEASE"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"attack" : {
+						"val" : -2,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"duration" : "N_TURNS"
+					},
+					"defence" : {
+						"val" : -2,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.defence",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"attack" : {
+						"val" : -2,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"duration" : "N_TURNS"
+					},
+					"defence" : {
+						"val" : -2,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.defence",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"attack" : {
+						"val" : -2,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"duration" : "N_TURNS"
+					},
+					"defence" : {
+						"val" : -2,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.defence",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"attack" : {
+						"val" : -2,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"duration" : "N_TURNS"
+					},
+					"defence" : {
+						"val" : -2,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.defence",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"immunity" : {
+			"UNDEAD": true,
+			"NON_LIVING": true
+		},
+		"flags" : {
+			"negative": true
+		}
+	},
+	"paralyze" : {
+		"index" : 74,
+		"anim" : 70,
+		"sounds": {
+			"cast": "PARALYZE"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"notActive" : {
+						"val" : 0,
+						"type" : "NOT_ACTIVE",
+						"subtype" : 74,
+						"duration" : [
+							"UNITL_BEING_ATTACKED",
+							"N_TURNS"
+						]
+					},
+					"noRetaliation" : {
+						"val" : 0,
+						"type" : "NO_RETALIATION",
+						"duration" : "UNITL_BEING_ATTACKED"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"notActive" : {
+						"val" : 0,
+						"type" : "NOT_ACTIVE",
+						"subtype" : 74,
+						"duration" : [
+							"UNITL_BEING_ATTACKED",
+							"N_TURNS"
+						]
+					},
+					"noRetaliation" : {
+						"val" : 0,
+						"type" : "NO_RETALIATION",
+						"duration" : "UNITL_BEING_ATTACKED"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"notActive" : {
+						"val" : 0,
+						"type" : "NOT_ACTIVE",
+						"subtype" : 74,
+						"duration" : [
+							"UNITL_BEING_ATTACKED",
+							"N_TURNS"
+						]
+					},
+					"noRetaliation" : {
+						"val" : 0,
+						"type" : "NO_RETALIATION",
+						"duration" : "UNITL_BEING_ATTACKED"
+					}
+				}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"notActive" : {
+						"val" : 0,
+						"type" : "NOT_ACTIVE",
+						"subtype" : 74,
+						"duration" : [
+							"UNITL_BEING_ATTACKED",
+							"N_TURNS"
+						]
+					},
+					"noRetaliation" : {
+						"val" : 0,
+						"type" : "NO_RETALIATION",
+						"duration" : "UNITL_BEING_ATTACKED"
+					}
+				}
+			}
+		},
+		"flags" : {
+			"negative": true
+		}
+	},
+	"age" : {
+		"index" : 75,
+		"anim" : 71,
+		"sounds": {
+			"cast": "AGE"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"stackHealth" : {
+						"val" : -50,
+						"type" : "STACK_HEALTH",
+						"valueType" : "PERCENT_TO_ALL",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"stackHealth" : {
+						"val" : -50,
+						"type" : "STACK_HEALTH",
+						"valueType" : "PERCENT_TO_ALL",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"stackHealth" : {
+						"val" : -50,
+						"type" : "STACK_HEALTH",
+						"valueType" : "PERCENT_TO_ALL",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"stackHealth" : {
+						"val" : -50,
+						"type" : "STACK_HEALTH",
+						"valueType" : "PERCENT_TO_ALL",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"immunity" : {
+			"UNDEAD": true,
+			"NON_LIVING": true
+		},
+		"flags" : {
+			"negative": true
+		}
+	},
+	"deathCloud" : {
+		"index" : 76,
+		"anim" : 72,
+		"sounds": {
+			"cast": "DEATHCLD"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0-1"
+			},
+			"basic":{
+				"range" : "0-1"
+			},
+			"advanced":{
+				"range" : "0-1"
+			},
+			"expert":{
+				"range" : "0-1"
+			}
+		},
+		"immunity" : {
+			"UNDEAD": true,
+			"NON_LIVING": true
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	},
+	"thunderbolt" : {
+		"index" : 77,
+		"anim" : 38,
+		"sounds": {
+			"cast": "LIGHTBLT"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0"
+			},
+			"basic":{
+				"range" : "0"
+			},
+			"advanced":{
+				"range" : "0"
+			},
+			"expert":{
+				"range" : "0"
+			}
+		},
+		"flags" : {
+			"damage": true,
+			"offensive": true,
+			"negative": true
+		}
+	},
+	"dispelHelpful" : {
+		"index" : 78,
+		"anim" : 41,
+		"sounds": {
+			"cast": "DISPELL"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0"
+			},
+			"basic":{
+				"range" : "0"
+			},
+			"advanced":{
+				"range" : "0"
+			},
+			"expert":{
+				"range" : "0"
+			}
+		},
+
+		"flags" : {
+			"negative": true
+		}
+	},
+	"deathStare" : {
+		"index" : 79,
+		"anim" : 80,
+		"sounds": {
+			"cast": "DEATHSTR"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0"
+			},
+			"basic":{
+				"range" : "0"
+			},
+			"advanced":{
+				"range" : "0"
+			},
+			"expert":{
+				"range" : "0"
+			}
+		},
+		"immunity" : {
+			"UNDEAD": true,
+			"NON_LIVING": true
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	},
+	"acidBreath" : {
+		"index" : 80,
+		"anim" : 81,
+		"sounds": {
+			"cast": "ACID"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : -3,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"duration" : "PERMANENT",
+						"valueType" : "ADDITIVE_VALUE"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : -3,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"duration" : "PERMANENT",
+						"valueType" : "ADDITIVE_VALUE"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : -3,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"duration" : "PERMANENT",
+						"valueType" : "ADDITIVE_VALUE"
+					}
+				}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : -3,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"duration" : "PERMANENT",
+						"valueType" : "ADDITIVE_VALUE"
+					}
+				}
+			}
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	},
+	"acidBreathDamage" : {
+		"index" : 81,
+		"anim" : 81,
+		"sounds": {
+			"cast": "ACID"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0"
+			},
+			"basic":{
+				"range" : "0"
+			},
+			"advanced":{
+				"range" : "0"
+			},
+			"expert":{
+				"range" : "0"
+			}
+		},
+		"flags" : {
+			"damage": true,
+			"indifferent": true
+		},
+		"immunity" : {
+			"DIRECT_DAMAGE_IMMUNITY": true
+		}
+	}
+}

+ 242 - 0
config/spells/adventure.json

@@ -0,0 +1,242 @@
+{
+	"summonBoat" : {
+		"index" : 0,
+		"anim" : -1,
+		"sounds": {
+			"cast": "SUMMBOAT"
+		},
+		"levels" :{
+			"none":{
+				"range" : "X"
+			},
+			"basic":{
+				"range" : "X"
+			},
+			"advanced":{
+				"range" : "X"
+			},
+			"expert":{
+				"range" : "X"
+			}
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	},
+	"scuttleBoat" : {
+		"index" : 1,
+		"anim" : -1,
+		"sounds": {
+			"cast": "SCUTBOAT"
+		},
+		"levels" : {
+			"none":	{
+				"range" : "X"
+			},
+			"basic":{
+				"range" : "X"
+			},
+			"advanced":{
+				"range" : "X"
+			},
+			"expert":{
+				"range" : "X"
+			}
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	},
+	"visions" : {
+		"index" : 2,
+		"anim" : -1,
+		"sounds": {
+			"cast": "VISIONS"
+		},
+		"levels" : {
+			"none":{
+				"range" : "X"
+			},
+			"basic":{
+				"range" : "X"
+			},
+			"advanced":{
+				"range" : "X"
+			},
+			"expert":{
+				"range" : "X"
+			}
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	},
+	"viewEarth" : {
+		"index" : 3,
+		"anim" : -1,
+		"sounds": {
+			"cast": "VIEW"
+		},
+		"levels" : {
+			"none":{
+				"range" : "X"
+			},
+			"basic":{
+				"range" : "X"
+			},
+			"advanced":{
+				"range" : "X"
+			},
+			"expert":{
+				"range" : "X"
+			}
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	},
+	"disguise" : {
+		"index" : 4,
+		"anim" : -1,
+		"sounds": {
+			"cast": "DISGUISE"
+		},
+		"levels" : {
+			"none":{
+				"range" : "X"
+			},
+			"basic":{
+				"range" : "X"
+			},
+			"advanced":{
+				"range" : "X"
+			},
+			"expert":{
+				"range" : "X"
+			}
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	},
+	"viewAir" : {
+		"index" : 5,
+		"anim" : -1,
+		"sounds": {
+			"cast": "VIEW"
+		},
+		"levels" : {
+			"none":{
+				"range" : "X"
+			},
+			"basic":{
+				"range" : "X"
+			},
+			"advanced":{
+				"range" : "X"
+			},
+			"expert":{
+				"range" : "X"
+			}
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	},
+	"fly" : {
+		"index" : 6,
+		"anim" : -1,
+		"sounds": {
+			"cast": "FLYSPELL"
+		},
+		"levels" : {
+			"none":{
+				"range" : "X"
+			},
+			"basic":{
+				"range" : "X"
+			},
+			"advanced":{
+				"range" : "X"
+			},
+			"expert":{
+				"range" : "X"
+			}
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	},
+	"waterWalk" : {
+		"index" : 7,
+		"anim" : -1,
+		"sounds": {
+			"cast": "WATRWALK"
+		},
+		"levels" : {
+			"none":{
+				"range" : "X"
+			},
+			"basic":{
+				"range" : "X"
+			},
+			"advanced":{
+				"range" : "X"
+			},
+			"expert":{
+				"range" : "X"
+			}
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	},
+	"dimensionDoor" : {
+		"index" : 8,
+		"anim" : -1,
+		"sounds": {
+			"cast": "TELPTOUT"
+		},
+		"levels" : {
+			"none":{
+				"range" : "X"
+			},
+			"basic":{
+				"range" : "X"
+			},
+			"advanced":{
+				"range" : "X"
+			},
+			"expert":{
+				"range" : "X"
+			}
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	},
+	"townPortal" : {
+		"index" : 9,
+		"anim" : -1,
+		"sounds": {
+			"cast": "TELPTOUT"
+		},
+		"levels" : {
+			"none":{
+				"range" : "X"
+			},
+			"basic":{
+				"range" : "X"
+			},
+			"advanced":{
+				"range" : "X"
+			},
+			"expert":{
+				"range" : "X"
+			}
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	}
+}

+ 404 - 0
config/spells/offensive.json

@@ -0,0 +1,404 @@
+{
+	"magicArrow" : {
+		"index" : 15,
+		"anim" : 64,
+		"sounds": {
+			"cast": "MAGICBLT"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			}
+		},
+		"flags" : {
+			"damage": true,
+			"offensive": true,
+			"negative": true
+		},
+		"immunity" : {
+			"DIRECT_DAMAGE_IMMUNITY": true
+		}
+	},
+	"iceBolt" : {
+		"index" : 16,
+		"anim" : 46,
+		"sounds": {
+			"cast": "ICERAY"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			}
+		},
+		"flags" : {
+			"damage": true,
+			"offensive": true,
+			"negative": true
+		},
+		"immunity" : {
+			"DIRECT_DAMAGE_IMMUNITY": true
+		}
+	},
+	"lightningBolt" : {
+		"index" : 17,
+		"anim" : 38,
+		"sounds": {
+			"cast": "LIGHTBLT"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			}
+		},
+		"flags" : {
+			"damage": true,
+			"offensive": true,
+			"negative": true
+		},
+		"immunity" : {
+			"DIRECT_DAMAGE_IMMUNITY": true
+		}
+	},
+	"implosion" : {
+		"index" : 18,
+		"anim" : 10,
+		"sounds": {
+			"cast": "DECAY"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			}
+		},
+
+		"flags" : {
+			"damage": true,
+			"offensive": true,
+			"negative": true
+		},
+		"immunity" : {
+			"DIRECT_DAMAGE_IMMUNITY": true
+		}
+	},
+	"chainLightning" : {
+		"index" : 19,
+		"anim" : 38,
+		"sounds": {
+			"cast": "CHAINLTE"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			}
+		},
+		"flags" : {
+			"damage": true,
+			"offensive": true,
+			"negative": true
+		}
+	},
+	"frostRing" : {
+		"index" : 20,
+		"anim" : 45,
+		"sounds": {
+			"cast": "FROSTING"
+		},
+		"levels" : {
+			"none":{
+				"range" : "1",
+				"targetModifier":{"smart":false}
+			},
+			"basic":{
+				"range" : "1",
+				"targetModifier":{"smart":false}
+			},
+			"advanced":{
+				"range" : "1",
+				"targetModifier":{"smart":false}
+			},
+			"expert":{
+				"range" : "1",
+				"targetModifier":{"smart":false}
+			}
+		},
+		"flags" : {
+			"damage": true,
+			"offensive": true,
+			"negative": true
+		},
+		"immunity" : {
+			"DIRECT_DAMAGE_IMMUNITY": true
+		}
+	},
+	"fireball" : {
+		"index" : 21,
+		"anim" : 53,
+		"sounds": {
+			"cast": "FIREBALL"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0,1",
+				"targetModifier":{"smart":false}
+			},
+			"basic":{
+				"range" : "0,1",
+				"targetModifier":{"smart":false}
+			},
+			"advanced":{
+				"range" : "0,1",
+				"targetModifier":{"smart":false}
+			},
+			"expert":{
+				"range" : "0,1",
+				"targetModifier":{"smart":false}
+			}
+		},
+		"flags" : {
+			"damage": true,
+			"offensive": true,
+			"negative": true
+		},
+		"immunity" : {
+			"DIRECT_DAMAGE_IMMUNITY": true
+		}
+	},
+	"inferno" : {
+		"index" : 22,
+		"anim" : 9,
+		"sounds": {
+			"cast": "FIREBLST"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0-2",
+				"targetModifier":{"smart":false}
+			},
+			"basic":{
+				"range" : "0-2",
+				"targetModifier":{"smart":false}
+			},
+			"advanced":{
+				"range" : "0-2",
+				"targetModifier":{"smart":false}
+			},
+			"expert":{
+				"range" : "0-2",
+				"targetModifier":{"smart":false}
+			}
+		},
+		"flags" : {
+			"damage": true,
+			"offensive": true,
+			"negative": true
+		},
+		"immunity" : {
+			"DIRECT_DAMAGE_IMMUNITY": true
+		}
+	},
+	"meteorShower" : {
+		"index" : 23,
+		"anim" : 16,
+		"sounds": {
+			"cast": "METEOR"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0,1",
+				"targetModifier":{"smart":false}
+			},
+			"basic":{
+				"range" : "0,1",
+				"targetModifier":{"smart":false}
+			},
+			"advanced":{
+				"range" : "0,1",
+				"targetModifier":{"smart":false}
+			},
+			"expert":{
+				"range" : "0,1",
+				"targetModifier":{"smart":false}
+			}
+		},
+		"flags" : {
+			"damage": true,
+			"offensive": true,
+			"negative": true
+		},
+		"immunity" : {
+			"DIRECT_DAMAGE_IMMUNITY": true
+		}
+	},
+	"deathRipple" : {
+		"index" : 24,
+		"targetType" : "CREATURE",
+		"anim" : 8,
+		"sounds": {
+			"cast": "DEATHRIP"
+		},
+		"levels" : {
+			"none":{
+				"range" : "X",
+				"targetModifier":{"smart":false}
+			},
+			"basic":{
+				"range" : "X",
+				"targetModifier":{"smart":false}
+			},
+			"advanced":{
+				"range" : "X",
+				"targetModifier":{"smart":false}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":false}
+			}
+		},
+		"flags" : {
+			"damage": true,
+			"offensive": true,
+			"negative": true
+		},
+		"immunity" : {
+			"SIEGE_WEAPON": true,
+			"UNDEAD": true,
+			"DIRECT_DAMAGE_IMMUNITY": true
+		}
+	},
+	"destroyUndead" : {
+		"index" : 25,
+		"targetType" : "CREATURE",
+		"anim" : 29,
+		"sounds": {
+			"cast": "COLDRING"
+		},
+		"levels" : {
+			"none":{
+				"range" : "X",
+				"targetModifier":{"smart":false}
+			},
+			"basic":{
+				"range" : "X",
+				"targetModifier":{"smart":false}
+			},
+			"advanced":{
+				"range" : "X",
+				"targetModifier":{"smart":false}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":false}
+			}
+		},
+		"flags" : {
+			"damage": true,
+			"offensive": true,
+			"negative": true
+		},
+		"limit" : {
+			"UNDEAD": true
+		},
+		"immunity" : {
+			"DIRECT_DAMAGE_IMMUNITY": true
+		}
+	},
+	"armageddon" : {
+		"index" : 26,
+		"targetType" : "CREATURE",
+		"anim" : 12,
+		"sounds": {
+			"cast": "ARMGEDN"
+		},
+		"levels" : {
+			"none":{
+				"range" : "X",
+				"targetModifier":{"smart":false}
+			},
+			"basic":{
+				"range" : "X",
+				"targetModifier":{"smart":false}
+			},
+			"advanced":{
+				"range" : "X",
+				"targetModifier":{"smart":false}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":false}
+			}
+		},
+		"flags" : {
+			"damage": true,
+			"offensive": true,
+			"negative": true
+		},
+		"immunity" : {
+			"DIRECT_DAMAGE_IMMUNITY": true
+		}
+	}
+}

+ 463 - 0
config/spells/other.json

@@ -0,0 +1,463 @@
+{
+	"quicksand" : {
+		"index" : 10,
+		"anim" : -1,
+		"sounds": {
+			"cast": "QUIKSAND"
+		},
+		"levels" : {
+			"none":{
+				"range" : "X"
+			},
+			"basic":{
+				"range" : "X"
+			},
+			"advanced":{
+				"range" : "X"
+			},
+			"expert":{
+				"range" : "X"
+			}
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	},
+	"landMine" : {
+		"index" : 11,
+		"anim" : -1,
+		"sounds": {
+			"cast": ""
+		},
+		"levels" : {
+			"none":{
+				"range" : "X"
+			},
+			"basic":{
+				"range" : "X"
+			},
+			"advanced":{
+				"range" : "X"
+			},
+			"expert":{
+				"range" : "X"
+			}
+		},
+		"flags" : {
+			"damage": true,
+			"indifferent": true
+		},
+		"immunity" : {
+			"DIRECT_DAMAGE_IMMUNITY": true
+		}
+	},
+	"forceField" : {
+		"index" : 12,
+		"anim" : -1,
+		"sounds": {
+			"cast": "FORCEFLD"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0"
+			},
+			"basic":{
+				"range" : "0"
+			},
+			"advanced":{
+				"range" : "0"
+			},
+			"expert":{
+				"range" : "0"
+			}
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	},
+	"fireWall" : {
+		"index" : 13,
+		"anim" : -1,
+		"sounds": {
+			"cast": "FIREWALL"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0"
+			},
+			"basic":{
+				"range" : "0"
+			},
+			"advanced":{
+				"range" : "0"
+			},
+			"expert":{
+				"range" : "0"
+			}
+		},
+		"flags" : {
+			"damage": true,
+			"indifferent": true
+		},
+		"immunity" : {
+			"DIRECT_DAMAGE_IMMUNITY": true
+		}
+	},
+	"earthquake" : {
+		"index" : 14,
+		"anim" : -1,
+		"sounds": {
+			"cast": "ERTHQUAK"
+		},
+		"levels" : {
+			"none":{
+				"range" : "X"
+			},
+			"basic":{
+				"range" : "X"
+			},
+			"advanced":{
+				"range" : "X"
+			},
+			"expert":{
+				"range" : "X"
+			}
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	},
+	
+	"dispel" : {
+		"index" : 35,
+		"anim" : 41,
+		"sounds": {
+			"cast": "DISPELL"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0"
+			},
+			"basic":{
+				"range" : "0"
+			},
+			"advanced":{
+				"range" : "0"
+			},
+			"expert":{
+				"range" : "X"
+			}
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	},
+	"cure" : {
+		"index" : 37,
+		"anim" : 39,
+		"sounds": {
+			"cast": "CURE"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			}
+		},
+		"flags" : {
+			"positive": true
+		}
+	},
+	"resurrection" : {
+		"index" : 38,
+		"anim" : 79,
+		"sounds": {
+			"cast": "RESURECT"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			}
+		},
+		"flags" : {
+			"rising": true,
+			"positive": true
+		},
+		"immunity" : {
+			"UNDEAD": true,
+			"NON_LIVING": true
+		}
+	},
+	"animateDead" : {
+		"index" : 39,
+		"anim" : 79,
+		"sounds": {
+			"cast": "ANIMDEAD"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			}
+		},
+		"flags" : {
+			"rising": true,
+			"positive": true
+		},
+		"limit" : {
+			"UNDEAD": true
+		}
+	},
+	"sacrifice" : {
+		"index" : 40,
+		"anim" : 79,
+		"sounds": {
+			"cast": "SACRIF1"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			}
+		},
+		"flags" : {
+			"rising": true,
+			"positive": true
+		},
+		"immunity" : {
+			"UNDEAD": true,
+			"NON_LIVING": true
+		}
+	},
+	"teleport" : {
+		"index" : 63,
+		"anim" : -1,
+		"sounds": {
+			"cast": "TELPTOUT"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":false}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":false}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":false}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":false}
+			}
+		},
+		"immunity" : {
+			"SIEGE_WEAPON": true
+		},
+		"flags" : {
+			"positive": true
+		}
+	},
+	"removeObstacle" : {
+		"index" : 64,
+		"anim" : -1,
+		"sounds": {
+			"cast": "REMOVEOB"
+		},
+		"levels" : {
+			"none":{
+				"range" : "X"
+			},
+			"basic":{
+				"range" : "X"
+			},
+			"advanced":{
+				"range" : "X"
+			},
+			"expert":{
+				"range" : "X"
+			}
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	},
+	"clone" : {
+		"index" : 65,
+		"anim" : -1,
+		"sounds": {
+			"cast": "CLONE"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			}
+		},
+		"immunity" : {
+			"SIEGE_WEAPON": true
+		},
+		"flags" : {
+			"positive": true
+		}
+	},
+	"fireElemental" : {
+		"index" : 66,
+		"anim" : -1,
+		"sounds": {
+			"cast": "SUMNELM"
+		},
+		"levels" : {
+			"none":{
+				"range" : "X"
+			},
+			"basic":{
+				"range" : "X"
+			},
+			"advanced":{
+				"range" : "X"
+			},
+			"expert":{
+				"range" : "X"
+			}
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	},
+	"earthElemental" : {
+		"index" : 67,
+		"anim" : -1,
+		"sounds": {
+			"cast": "SUMNELM"
+		},
+		"levels" : {
+			"none":{
+				"range" : "X"
+			},
+			"basic":{
+				"range" : "X"
+			},
+			"advanced":{
+				"range" : "X"
+			},
+			"expert":{
+				"range" : "X"
+			}
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	},
+	"waterElemental" : {
+		"index" : 68,
+		"anim" : -1,
+		"sounds": {
+			"cast": "SUMNELM"
+		},
+		"levels" : {
+			"none":{
+				"range" : "X"
+			},
+			"basic":{
+				"range" : "X"
+			},
+			"advanced":{
+				"range" : "X"
+			},
+			"expert":{
+				"range" : "X"
+			}
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	},
+	"airElemental" : {
+		"index" : 69,
+		"anim" : -1,
+		"sounds": {
+			"cast": "SUMNELM"
+		},
+		"levels" : {
+			"none":{
+				"range" : "X"
+			},
+			"basic":{
+				"range" : "X"
+			},
+			"advanced":{
+				"range" : "X"
+			},
+			"expert":{
+				"range" : "X"
+			}
+		},
+		"flags" : {
+			"indifferent": true
+		}
+	}
+}

+ 1978 - 3755
config/spell_info.json → config/spells/timed.json

@@ -1,3755 +1,1978 @@
-{
-	"summonBoat" : {
-		"index" : 0,
-		"anim" : -1,
-		"sounds": {
-			"cast": "SUMMBOAT"
-		},
-		"levels" :{
-			"none":{
-				"range" : "X"
-			},
-			"basic":{
-				"range" : "X"
-			},
-			"advanced":{
-				"range" : "X"
-			},
-			"expert":{
-				"range" : "X"
-			}
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"scuttleBoat" : {
-		"index" : 1,
-		"anim" : -1,
-		"sounds": {
-			"cast": "SCUTBOAT"
-		},
-		"levels" : {
-			"none":	{
-				"range" : "X"
-			},
-			"basic":{
-				"range" : "X"
-			},
-			"advanced":{
-				"range" : "X"
-			},
-			"expert":{
-				"range" : "X"
-			}
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"visions" : {
-		"index" : 2,
-		"anim" : -1,
-		"sounds": {
-			"cast": "VISIONS"
-		},
-		"levels" : {
-			"none":{
-				"range" : "X"
-			},
-			"basic":{
-				"range" : "X"
-			},
-			"advanced":{
-				"range" : "X"
-			},
-			"expert":{
-				"range" : "X"
-			}
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"viewEarth" : {
-		"index" : 3,
-		"anim" : -1,
-		"sounds": {
-			"cast": "VIEW"
-		},
-		"levels" : {
-			"none":{
-				"range" : "X"
-			},
-			"basic":{
-				"range" : "X"
-			},
-			"advanced":{
-				"range" : "X"
-			},
-			"expert":{
-				"range" : "X"
-			}
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"disguise" : {
-		"index" : 4,
-		"anim" : -1,
-		"sounds": {
-			"cast": "DISGUISE"
-		},
-		"levels" : {
-			"none":{
-				"range" : "X"
-			},
-			"basic":{
-				"range" : "X"
-			},
-			"advanced":{
-				"range" : "X"
-			},
-			"expert":{
-				"range" : "X"
-			}
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"viewAir" : {
-		"index" : 5,
-		"anim" : -1,
-		"sounds": {
-			"cast": "VIEW"
-		},
-		"levels" : {
-			"none":{
-				"range" : "X"
-			},
-			"basic":{
-				"range" : "X"
-			},
-			"advanced":{
-				"range" : "X"
-			},
-			"expert":{
-				"range" : "X"
-			}
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"fly" : {
-		"index" : 6,
-		"anim" : -1,
-		"sounds": {
-			"cast": "FLYSPELL"
-		},
-		"levels" : {
-			"none":{
-				"range" : "X"
-			},
-			"basic":{
-				"range" : "X"
-			},
-			"advanced":{
-				"range" : "X"
-			},
-			"expert":{
-				"range" : "X"
-			}
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"waterWalk" : {
-		"index" : 7,
-		"anim" : -1,
-		"sounds": {
-			"cast": "WATRWALK"
-		},
-		"levels" : {
-			"none":{
-				"range" : "X"
-			},
-			"basic":{
-				"range" : "X"
-			},
-			"advanced":{
-				"range" : "X"
-			},
-			"expert":{
-				"range" : "X"
-			}
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"dimensionDoor" : {
-		"index" : 8,
-		"anim" : -1,
-		"sounds": {
-			"cast": "TELPTOUT"
-		},
-		"levels" : {
-			"none":{
-				"range" : "X"
-			},
-			"basic":{
-				"range" : "X"
-			},
-			"advanced":{
-				"range" : "X"
-			},
-			"expert":{
-				"range" : "X"
-			}
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"townPortal" : {
-		"index" : 9,
-		"anim" : -1,
-		"sounds": {
-			"cast": "TELPTOUT"
-		},
-		"levels" : {
-			"none":{
-				"range" : "X"
-			},
-			"basic":{
-				"range" : "X"
-			},
-			"advanced":{
-				"range" : "X"
-			},
-			"expert":{
-				"range" : "X"
-			}
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"quicksand" : {
-		"index" : 10,
-		"anim" : -1,
-		"sounds": {
-			"cast": "QUIKSAND"
-		},
-		"levels" : {
-			"none":{
-				"range" : "X"
-			},
-			"basic":{
-				"range" : "X"
-			},
-			"advanced":{
-				"range" : "X"
-			},
-			"expert":{
-				"range" : "X"
-			}
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"landMine" : {
-		"index" : 11,
-		"anim" : -1,
-		"sounds": {
-			"cast": ""
-		},
-		"levels" : {
-			"none":{
-				"range" : "X"
-			},
-			"basic":{
-				"range" : "X"
-			},
-			"advanced":{
-				"range" : "X"
-			},
-			"expert":{
-				"range" : "X"
-			}
-		},
-		"flags" : {
-			"damage": true,
-			"indifferent": true
-		},
-		"immunity" : {
-			"DIRECT_DAMAGE_IMMUNITY": true
-		}
-	},
-	"forceField" : {
-		"index" : 12,
-		"anim" : -1,
-		"sounds": {
-			"cast": "FORCEFLD"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0"
-			},
-			"basic":{
-				"range" : "0"
-			},
-			"advanced":{
-				"range" : "0"
-			},
-			"expert":{
-				"range" : "0"
-			}
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"fireWall" : {
-		"index" : 13,
-		"anim" : -1,
-		"sounds": {
-			"cast": "FIREWALL"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0"
-			},
-			"basic":{
-				"range" : "0"
-			},
-			"advanced":{
-				"range" : "0"
-			},
-			"expert":{
-				"range" : "0"
-			}
-		},
-		"flags" : {
-			"damage": true,
-			"indifferent": true
-		},
-		"immunity" : {
-			"DIRECT_DAMAGE_IMMUNITY": true
-		}
-	},
-	"earthquake" : {
-		"index" : 14,
-		"anim" : -1,
-		"sounds": {
-			"cast": "ERTHQUAK"
-		},
-		"levels" : {
-			"none":{
-				"range" : "X"
-			},
-			"basic":{
-				"range" : "X"
-			},
-			"advanced":{
-				"range" : "X"
-			},
-			"expert":{
-				"range" : "X"
-			}
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"magicArrow" : {
-		"index" : 15,
-		"anim" : 64,
-		"sounds": {
-			"cast": "MAGICBLT"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			}
-		},
-		"flags" : {
-			"damage": true,
-			"offensive": true,
-			"negative": true
-		},
-		"immunity" : {
-			"DIRECT_DAMAGE_IMMUNITY": true
-		}
-	},
-	"iceBolt" : {
-		"index" : 16,
-		"anim" : 46,
-		"sounds": {
-			"cast": "ICERAY"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			}
-		},
-		"flags" : {
-			"damage": true,
-			"offensive": true,
-			"negative": true
-		},
-		"immunity" : {
-			"DIRECT_DAMAGE_IMMUNITY": true
-		}
-	},
-	"lightningBolt" : {
-		"index" : 17,
-		"anim" : 38,
-		"sounds": {
-			"cast": "LIGHTBLT"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			}
-		},
-		"flags" : {
-			"damage": true,
-			"offensive": true,
-			"negative": true
-		},
-		"immunity" : {
-			"DIRECT_DAMAGE_IMMUNITY": true
-		}
-	},
-	"implosion" : {
-		"index" : 18,
-		"anim" : 10,
-		"sounds": {
-			"cast": "DECAY"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			}
-		},
-
-		"flags" : {
-			"damage": true,
-			"offensive": true,
-			"negative": true
-		},
-		"immunity" : {
-			"DIRECT_DAMAGE_IMMUNITY": true
-		}
-	},
-	"chainLightning" : {
-		"index" : 19,
-		"anim" : 38,
-		"sounds": {
-			"cast": "CHAINLTE"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			}
-		},
-		"flags" : {
-			"damage": true,
-			"offensive": true,
-			"negative": true
-		}
-	},
-	"frostRing" : {
-		"index" : 20,
-		"anim" : 45,
-		"sounds": {
-			"cast": "FROSTING"
-		},
-		"levels" : {
-			"none":{
-				"range" : "1",
-				"targetModifier":{"smart":false}
-			},
-			"basic":{
-				"range" : "1",
-				"targetModifier":{"smart":false}
-			},
-			"advanced":{
-				"range" : "1",
-				"targetModifier":{"smart":false}
-			},
-			"expert":{
-				"range" : "1",
-				"targetModifier":{"smart":false}
-			}
-		},
-		"flags" : {
-			"damage": true,
-			"offensive": true,
-			"negative": true
-		},
-		"immunity" : {
-			"DIRECT_DAMAGE_IMMUNITY": true
-		}
-	},
-	"fireball" : {
-		"index" : 21,
-		"anim" : 53,
-		"sounds": {
-			"cast": "FIREBALL"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0,1",
-				"targetModifier":{"smart":false}
-			},
-			"basic":{
-				"range" : "0,1",
-				"targetModifier":{"smart":false}
-			},
-			"advanced":{
-				"range" : "0,1",
-				"targetModifier":{"smart":false}
-			},
-			"expert":{
-				"range" : "0,1",
-				"targetModifier":{"smart":false}
-			}
-		},
-		"flags" : {
-			"damage": true,
-			"offensive": true,
-			"negative": true
-		},
-		"immunity" : {
-			"DIRECT_DAMAGE_IMMUNITY": true
-		}
-	},
-	"inferno" : {
-		"index" : 22,
-		"anim" : 9,
-		"sounds": {
-			"cast": "FIREBLST"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0-2",
-				"targetModifier":{"smart":false}
-			},
-			"basic":{
-				"range" : "0-2",
-				"targetModifier":{"smart":false}
-			},
-			"advanced":{
-				"range" : "0-2",
-				"targetModifier":{"smart":false}
-			},
-			"expert":{
-				"range" : "0-2",
-				"targetModifier":{"smart":false}
-			}
-		},
-		"flags" : {
-			"damage": true,
-			"offensive": true,
-			"negative": true
-		},
-		"immunity" : {
-			"DIRECT_DAMAGE_IMMUNITY": true
-		}
-	},
-	"meteorShower" : {
-		"index" : 23,
-		"anim" : 16,
-		"sounds": {
-			"cast": "METEOR"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0,1",
-				"targetModifier":{"smart":false}
-			},
-			"basic":{
-				"range" : "0,1",
-				"targetModifier":{"smart":false}
-			},
-			"advanced":{
-				"range" : "0,1",
-				"targetModifier":{"smart":false}
-			},
-			"expert":{
-				"range" : "0,1",
-				"targetModifier":{"smart":false}
-			}
-		},
-		"flags" : {
-			"damage": true,
-			"offensive": true,
-			"negative": true
-		},
-		"immunity" : {
-			"DIRECT_DAMAGE_IMMUNITY": true
-		}
-	},
-	"deathRipple" : {
-		"index" : 24,
-		"targetType" : "CREATURE",
-		"anim" : 8,
-		"sounds": {
-			"cast": "DEATHRIP"
-		},
-		"levels" : {
-			"none":{
-				"range" : "X",
-				"targetModifier":{"smart":false}
-			},
-			"basic":{
-				"range" : "X",
-				"targetModifier":{"smart":false}
-			},
-			"advanced":{
-				"range" : "X",
-				"targetModifier":{"smart":false}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":false}
-			}
-		},
-		"flags" : {
-			"damage": true,
-			"offensive": true,
-			"negative": true
-		},
-		"immunity" : {
-			"SIEGE_WEAPON": true,
-			"UNDEAD": true,
-			"DIRECT_DAMAGE_IMMUNITY": true
-		}
-	},
-	"destroyUndead" : {
-		"index" : 25,
-		"targetType" : "CREATURE",
-		"anim" : 29,
-		"sounds": {
-			"cast": "COLDRING"
-		},
-		"levels" : {
-			"none":{
-				"range" : "X",
-				"targetModifier":{"smart":false}
-			},
-			"basic":{
-				"range" : "X",
-				"targetModifier":{"smart":false}
-			},
-			"advanced":{
-				"range" : "X",
-				"targetModifier":{"smart":false}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":false}
-			}
-		},
-		"flags" : {
-			"damage": true,
-			"offensive": true,
-			"negative": true
-		},
-		"limit" : {
-			"UNDEAD": true
-		},
-		"immunity" : {
-			"DIRECT_DAMAGE_IMMUNITY": true
-		}
-	},
-	"armageddon" : {
-		"index" : 26,
-		"targetType" : "CREATURE",
-		"anim" : 12,
-		"sounds": {
-			"cast": "ARMGEDN"
-		},
-		"levels" : {
-			"none":{
-				"range" : "X",
-				"targetModifier":{"smart":false}
-			},
-			"basic":{
-				"range" : "X",
-				"targetModifier":{"smart":false}
-			},
-			"advanced":{
-				"range" : "X",
-				"targetModifier":{"smart":false}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":false}
-			}
-		},
-		"flags" : {
-			"damage": true,
-			"offensive": true,
-			"negative": true
-		},
-		"immunity" : {
-			"DIRECT_DAMAGE_IMMUNITY": true
-		}
-	},
-	"shield" : {
-		"index" : 27,
-		"anim" : 27,
-		"sounds": {
-			"cast": "SHIELD"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"generalDamageReduction" : {
-						"type" : "GENERAL_DAMAGE_REDUCTION",
-						"subtype" : 0,
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"generalDamageReduction" : {
-						"type" : "GENERAL_DAMAGE_REDUCTION",
-						"subtype" : 0,
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"generalDamageReduction" : {
-						"type" : "GENERAL_DAMAGE_REDUCTION",
-						"subtype" : 0,
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"generalDamageReduction" : {
-						"type" : "GENERAL_DAMAGE_REDUCTION",
-						"subtype" : 0,
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"flags" : {
-			"positive": true
-		}
-	},
-	"airShield" : {
-		"index" : 28,
-		"anim" : 2,
-		"sounds": {
-			"cast": "AIRSHELD"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"generalDamageReduction" : {
-						"type" : "GENERAL_DAMAGE_REDUCTION",
-						"subtype" : 1,
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"generalDamageReduction" : {
-						"type" : "GENERAL_DAMAGE_REDUCTION",
-						"subtype" : 1,
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"generalDamageReduction" : {
-						"type" : "GENERAL_DAMAGE_REDUCTION",
-						"subtype" : 1,
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"generalDamageReduction" : {
-						"type" : "GENERAL_DAMAGE_REDUCTION",
-						"subtype" : 1,
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"flags" : {
-			"positive": true
-		}
-	},
-	"fireShield" : {
-		"index" : 29,
-		"anim" : 11,
-		"sounds": {
-			"cast": "FIRESHIE"
-		},
-		// It looks that fireshield has two separate sounds
-		//			"soundfile":"FIRESHLD.wav"
-		//		
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"fireShield" : {
-						"type" : "FIRE_SHIELD",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"fireShield" : {
-						"type" : "FIRE_SHIELD",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"fireShield" : {
-						"type" : "FIRE_SHIELD",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"fireShield" : {
-						"type" : "FIRE_SHIELD",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"flags" : {
-			"positive": true
-		}
-	},
-	"protectAir" : {
-		"index" : 30,
-		"anim" : 22,
-		"sounds": {
-			"cast": "PROTECTA"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"spellDamageReduction" : {
-						"type" : "SPELL_DAMAGE_REDUCTION",
-						"subtype" : 0,
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"spellDamageReduction" : {
-						"type" : "SPELL_DAMAGE_REDUCTION",
-						"subtype" : 0,
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"spellDamageReduction" : {
-						"type" : "SPELL_DAMAGE_REDUCTION",
-						"subtype" : 0,
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"spellDamageReduction" : {
-						"type" : "SPELL_DAMAGE_REDUCTION",
-						"subtype" : 0,
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"flags" : {
-			"positive": true
-		}
-	},
-	"protectFire" : {
-		"index" : 31,
-		"anim" : 24,
-		"sounds": {
-			"cast": "PROTECTF"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"spellDamageReduction" : {
-						"type" : "SPELL_DAMAGE_REDUCTION",
-						"subtype" : 1,
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"spellDamageReduction" : {
-						"type" : "SPELL_DAMAGE_REDUCTION",
-						"subtype" : 1,
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"spellDamageReduction" : {
-						"type" : "SPELL_DAMAGE_REDUCTION",
-						"subtype" : 1,
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"spellDamageReduction" : {
-						"type" : "SPELL_DAMAGE_REDUCTION",
-						"subtype" : 1,
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"flags" : {
-			"positive": true
-		}
-	},
-	"protectWater" : {
-		"index" : 32,
-		"anim" : 23,
-		"sounds": {
-			"cast": "PROTECTW"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"spellDamageReduction" : {
-						"type" : "SPELL_DAMAGE_REDUCTION",
-						"subtype" : 2,
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"spellDamageReduction" : {
-						"type" : "SPELL_DAMAGE_REDUCTION",
-						"subtype" : 2,
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"spellDamageReduction" : {
-						"type" : "SPELL_DAMAGE_REDUCTION",
-						"subtype" : 2,
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"spellDamageReduction" : {
-						"type" : "SPELL_DAMAGE_REDUCTION",
-						"subtype" : 2,
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"flags" : {
-			"positive": true
-		}
-	},
-	"protectEarth" : {
-		"index" : 33,
-		"anim" : 26,
-		"sounds": {
-			"cast": "PROTECTE"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"spellDamageReduction" : {
-						"type" : "SPELL_DAMAGE_REDUCTION",
-						"subtype" : 3,
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"spellDamageReduction" : {
-						"type" : "SPELL_DAMAGE_REDUCTION",
-						"subtype" : 3,
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"spellDamageReduction" : {
-						"type" : "SPELL_DAMAGE_REDUCTION",
-						"subtype" : 3,
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"spellDamageReduction" : {
-						"type" : "SPELL_DAMAGE_REDUCTION",
-						"subtype" : 3,
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"flags" : {
-			"positive": true
-		}
-	},
-	"antiMagic" : {
-		"index" : 34,
-		"anim" : 5,
-		"sounds": {
-			"cast": "ANTIMAGK"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"levelSpellImmunity" : {
-						"val" : 3,
-						"type" : "LEVEL_SPELL_IMMUNITY",
-						"valueType" : "INDEPENDENT_MAX",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"levelSpellImmunity" : {
-						"val" : 3,
-						"type" : "LEVEL_SPELL_IMMUNITY",
-						"valueType" : "INDEPENDENT_MAX",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"levelSpellImmunity" : {
-						"val" : 4,
-						"type" : "LEVEL_SPELL_IMMUNITY",
-						"valueType" : "INDEPENDENT_MAX",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"levelSpellImmunity" : {
-						"val" : 5,
-						"type" : "LEVEL_SPELL_IMMUNITY",
-						"valueType" : "INDEPENDENT_MAX",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"flags" : {
-			"positive": true
-		}
-	},
-	"dispel" : {
-		"index" : 35,
-		"anim" : 41,
-		"sounds": {
-			"cast": "DISPELL"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0"
-			},
-			"basic":{
-				"range" : "0"
-			},
-			"advanced":{
-				"range" : "0"
-			},
-			"expert":{
-				"range" : "X"
-			}
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"magicMirror" : {
-		"index" : 36,
-		"anim" : 3,
-		"sounds": {
-			"cast": "BACKLASH"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"magicMirror" : {
-						"type" : "MAGIC_MIRROR",
-						"valueType" : "INDEPENDENT_MAX",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"magicMirror" : {
-						"type" : "MAGIC_MIRROR",
-						"valueType" : "INDEPENDENT_MAX",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"magicMirror" : {
-						"type" : "MAGIC_MIRROR",
-						"valueType" : "INDEPENDENT_MAX",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"magicMirror" : {
-						"type" : "MAGIC_MIRROR",
-						"valueType" : "INDEPENDENT_MAX",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"flags" : {
-			"positive": true
-		}
-	},
-	"cure" : {
-		"index" : 37,
-		"anim" : 39,
-		"sounds": {
-			"cast": "CURE"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			}
-		},
-		"flags" : {
-			"positive": true
-		}
-	},
-	"resurrection" : {
-		"index" : 38,
-		"anim" : 79,
-		"sounds": {
-			"cast": "RESURECT"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			}
-		},
-		"flags" : {
-			"rising": true,
-			"positive": true
-		},
-		"immunity" : {
-			"UNDEAD": true,
-			"NON_LIVING": true
-		}
-	},
-	"animateDead" : {
-		"index" : 39,
-		"anim" : 79,
-		"sounds": {
-			"cast": "ANIMDEAD"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			}
-		},
-		"flags" : {
-			"rising": true,
-			"positive": true
-		},
-		"limit" : {
-			"UNDEAD": true
-		}
-	},
-	"sacrifice" : {
-		"index" : 40,
-		"anim" : 79,
-		"sounds": {
-			"cast": "SACRIF1"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			}
-		},
-		"flags" : {
-			"rising": true,
-			"positive": true
-		},
-		"immunity" : {
-			"UNDEAD": true,
-			"NON_LIVING": true
-		}
-	},
-	"bless" : {
-		"index" : 41,
-		"anim" : 36,
-		"sounds": {
-			"cast": "BLESS"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"alwaysMaximumDamage" : {
-						"val" : 0,
-						"type" : "ALWAYS_MAXIMUM_DAMAGE",
-						"subtype" : -1,
-						"valueType" : "INDEPENDENT_MAX",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"alwaysMaximumDamage" : {
-						"val" : 0,
-						"type" : "ALWAYS_MAXIMUM_DAMAGE",
-						"subtype" : -1,
-						"valueType" : "INDEPENDENT_MAX",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"alwaysMaximumDamage" : {
-						"val" : 1,
-						"type" : "ALWAYS_MAXIMUM_DAMAGE",
-						"subtype" : -1,
-						"valueType" : "INDEPENDENT_MAX",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"alwaysMaximumDamage" : {
-						"val" : 1,
-						"type" : "ALWAYS_MAXIMUM_DAMAGE",
-						"subtype" : -1,
-						"valueType" : "INDEPENDENT_MAX",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"counters" : {
-			"spell.curse": true
-		},
-		"immunity" : {
-			"UNDEAD": true
-		},
-		"flags" : {
-			"positive": true
-		}
-	},
-	"curse" : {
-		"index" : 42,
-		"anim" : 40,
-		"sounds": {
-			"cast": "CURSE"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"alwaysMinimumDamage" : {
-						"addInfo" : 0,
-						"val" : 0,
-						"type" : "ALWAYS_MINIMUM_DAMAGE",
-						"subtype" : -1,
-						"valueType" : "INDEPENDENT_MAX",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"alwaysMinimumDamage" : {
-						"addInfo" : 0,
-						"val" : 0,
-						"type" : "ALWAYS_MINIMUM_DAMAGE",
-						"subtype" : -1,
-						"valueType" : "INDEPENDENT_MAX",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"alwaysMinimumDamage" : {
-						"addInfo" : 20,
-						"val" : 1,
-						"type" : "ALWAYS_MINIMUM_DAMAGE",
-						"subtype" : -1,
-						"valueType" : "INDEPENDENT_MAX",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"alwaysMinimumDamage" : {
-						"addInfo" : 20,
-						"val" : 1,
-						"type" : "ALWAYS_MINIMUM_DAMAGE",
-						"subtype" : -1,
-						"valueType" : "INDEPENDENT_MAX",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"counters" : {
-			"spell.bless": true
-		},
-		"immunity" : {
-			"UNDEAD": true
-		},
-		"flags" : {
-			"negative": true
-		}
-	},
-	"bloodlust" : {
-		"index" : 43,
-		"anim" : 4,
-		"sounds": {
-			"cast": "BLOODLUS"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : 3,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"effectRange" : "ONLY_MELEE_FIGHT",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : 3,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"effectRange" : "ONLY_MELEE_FIGHT",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : 6,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"effectRange" : "ONLY_MELEE_FIGHT",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : 6,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"effectRange" : "ONLY_MELEE_FIGHT",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"counters" : {
-			"spell.weakness": true
-		},
-		"flags" : {
-			"positive": true
-		}
-	},
-	"precision" : {
-		"index" : 44,
-		"anim" : 25,
-		"sounds": {
-			"cast": "PRECISON"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : 3,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"effectRange" : "ONLY_DISTANCE_FIGHT",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : 3,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"effectRange" : "ONLY_DISTANCE_FIGHT",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : 6,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"effectRange" : "ONLY_DISTANCE_FIGHT",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : 6,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"effectRange" : "ONLY_DISTANCE_FIGHT",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"limit" : {
-			"SHOOTER": true
-		},
-		"flags" : {
-			"positive": true
-		}
-	},
-	"weakness" : {
-		"index" : 45,
-		"anim" : 56,
-		"sounds": {
-			"cast": "WEAKNESS"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : -3,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : -3,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : -6,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : -6,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"counters" : {
-			"spell.bloodlust": true
-		},
-		"flags" : {
-			"negative": true
-		}
-	},
-	"stoneSkin" : {
-		"index" : 46,
-		"anim" : 54,
-		"sounds": {
-			"cast": "TUFFSKIN"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : 3,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.defence",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : 3,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.defence",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : 6,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.defence",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : 6,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.defence",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"flags" : {
-			"positive": true
-		}
-	},
-	"disruptingRay" : {
-		"index" : 47,
-				"targetType" : "CREATURE", //fix, dont remove
-		"anim" : 14,
-		"sounds": {
-			"cast": "DISRUPTR"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : -3,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.defence",
-						"valueType" : "ADDITIVE_VALUE",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : -3,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.defence",
-						"valueType" : "ADDITIVE_VALUE",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : -4,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.defence",
-						"valueType" : "ADDITIVE_VALUE",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : -5,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.defence",
-						"valueType" : "ADDITIVE_VALUE",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"flags" : {
-			"negative": true
-		}
-	},
-	"prayer" : {
-		"index" : 48,
-		"anim" : 0,
-		"sounds": {
-			"cast": "PRAYER"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"attack" : {
-						"val" : 2,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"duration" : "N_TURNS"
-					},
-					"defence" : {
-						"val" : 2,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.defence",
-						"duration" : "N_TURNS"
-					},
-					"stacksSpeed" : {
-						"addInfo" : 0,
-						"val" : 2,
-						"type" : "STACKS_SPEED",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"attack" : {
-						"val" : 2,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"duration" : "N_TURNS"
-					},
-					"defence" : {
-						"val" : 2,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.defence",
-						"duration" : "N_TURNS"
-					},
-					"stacksSpeed" : {
-						"addInfo" : 0,
-						"val" : 2,
-						"type" : "STACKS_SPEED",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"attack" : {
-						"val" : 4,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"duration" : "N_TURNS"
-					},
-					"defence" : {
-						"val" : 4,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.defence",
-						"duration" : "N_TURNS"
-					},
-					"stacksSpeed" : {
-						"addInfo" : 0,
-						"val" : 4,
-						"type" : "STACKS_SPEED",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"attack" : {
-						"val" : 4,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"duration" : "N_TURNS"
-					},
-					"defence" : {
-						"val" : 4,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.defence",
-						"duration" : "N_TURNS"
-					},
-					"stacksSpeed" : {
-						"addInfo" : 0,
-						"val" : 4,
-						"type" : "STACKS_SPEED",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"flags" : {
-			"positive": true
-		}
-	},
-	"mirth" : {
-		"index" : 49,
-		"anim" : 20,
-		"sounds": {
-			"cast": "MIRTH"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"morale" : {
-						"val" : 1,
-						"type" : "MORALE",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"morale" : {
-						"val" : 1,
-						"type" : "MORALE",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"morale" : {
-						"val" : 2,
-						"type" : "MORALE",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "X",
-				"effects" : {
-					"morale" : {
-						"val" : 2,
-						"type" : "MORALE",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"counters" : {
-			"spell.sorrow":true
-		},
-		"flags" : {
-			"positive": true
-		}
-	},
-	"sorrow" : {
-		"index" : 50,
-		"anim" : 30,
-		"sounds": {
-			"cast": "SORROW"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"morale" : {
-						"val" : -1,
-						"type" : "MORALE",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"morale" : {
-						"val" : -1,
-						"type" : "MORALE",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"morale" : {
-						"val" : -2,
-						"type" : "MORALE",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"morale" : {
-						"val" : -2,
-						"type" : "MORALE",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"counters" : {
-			"spell.mirth":true
-		},
-		"immunity" : {
-			"MIND_IMMUNITY": true,
-			"UNDEAD": true,
-			"NON_LIVING": true
-		},
-		"flags" : {
-			"negative": true
-		}
-	},
-	"fortune" : {
-		"index" : 51,
-		"anim" : 18,
-		"sounds": {
-			"cast": "FORTUNE"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"luck" : {
-						"val" : 1,
-						"type" : "LUCK",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"luck" : {
-						"val" : 1,
-						"type" : "LUCK",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"luck" : {
-						"val" : 2,
-						"type" : "LUCK",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"luck" : {
-						"val" : 2,
-						"type" : "LUCK",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"counters" : {
-			"spell.misfortune": true
-		},
-		"flags" : {
-			"positive": true
-		}
-	},
-	"misfortune" : {
-		"index" : 52,
-		"anim" : 48,
-		"sounds": {
-			"cast": "MISFORT"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"luck" : {
-						"val" : -1,
-						"type" : "LUCK",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"luck" : {
-						"val" : -1,
-						"type" : "LUCK",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"luck" : {
-						"val" : -2,
-						"type" : "LUCK",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"luck" : {
-						"val" : -2,
-						"type" : "LUCK",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"counters" : {
-			"spell.fortune":true
-		},
-		"flags" : {
-			"negative": true
-		}
-	},
-	"haste" : {
-		"index" : 53,
-		"anim" : 31,
-		"sounds": {
-			"cast": "HASTE"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"stacksSpeed" : {
-						"addInfo" : 0,
-						"val" : 3,
-						"type" : "STACKS_SPEED",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"stacksSpeed" : {
-						"addInfo" : 0,
-						"val" : 3,
-						"type" : "STACKS_SPEED",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"stacksSpeed" : {
-						"addInfo" : 0,
-						"val" : 5,
-						"type" : "STACKS_SPEED",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"stacksSpeed" : {
-						"addInfo" : 0,
-						"val" : 5,
-						"type" : "STACKS_SPEED",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"counters" : {
-			"spell.slow": true
-		},
-		"immunity" : {
-			"SIEGE_WEAPON": true
-		},
-		"flags" : {
-			"positive": true
-		}
-	},
-	"slow" : {
-		"index" : 54,
-		"anim" : 19,
-		"sounds": {
-			"cast": "MUCKMIRE"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"stacksSpeed" : {
-						"addInfo" : 0,
-						"val" : -25,
-						"type" : "STACKS_SPEED",
-						"valueType" : "PERCENT_TO_ALL",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"stacksSpeed" : {
-						"addInfo" : 0,
-						"val" : -25,
-						"type" : "STACKS_SPEED",
-						"valueType" : "PERCENT_TO_ALL",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"stacksSpeed" : {
-						"addInfo" : 0,
-						"val" : -50,
-						"type" : "STACKS_SPEED",
-						"valueType" : "PERCENT_TO_ALL",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"stacksSpeed" : {
-						"addInfo" : 0,
-						"val" : -50,
-						"type" : "STACKS_SPEED",
-						"valueType" : "PERCENT_TO_ALL",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-
-		"counters" : {
-			"spell.haste":true
-		},
-		"immunity" : {
-			"SIEGE_WEAPON": true
-		},
-		"flags" : {
-			"negative": true
-		}
-	},
-	"slayer" : {
-		"index" : 55,
-		"anim" : 28,
-		"sounds": {
-			"cast": "SLAYER"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"slayer" : {
-						"val" : 0,
-						"type" : "SLAYER",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"slayer" : {
-						"val" : 1,
-						"type" : "SLAYER",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"slayer" : {
-						"val" : 2,
-						"type" : "SLAYER",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"slayer" : {
-						"val" : 3,
-						"type" : "SLAYER",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"flags" : {
-			"positive": true
-		}
-	},
-	"frenzy" : {
-		"index" : 56,
-		"anim" : 17,
-		"sounds": {
-			"cast": "FRENZY"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"inFrenzy" : {
-						"val" : 100,
-						"type" : "IN_FRENZY",
-						"duration" : "STACK_GETS_TURN"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"inFrenzy" : {
-						"val" : 100,
-						"type" : "IN_FRENZY",
-						"duration" : "STACK_GETS_TURN"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"inFrenzy" : {
-						"val" : 150,
-						"type" : "IN_FRENZY",
-						"duration" : "STACK_GETS_TURN"
-					}
-				}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"inFrenzy" : {
-						"val" : 200,
-						"type" : "IN_FRENZY",
-						"duration" : "STACK_GETS_TURN"
-					}
-				}
-			}
-		},
-		"flags" : {
-			"positive": true
-		}
-	},
-	"titanBolt" : {
-		"index" : 57,
-		"anim" : 38,
-		"sounds": {
-			"cast": "LIGHTBLT"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			}
-		},
-		"flags" : {
-			"damage": true,
-			"offensive": true,
-			"negative": true,
-						"special": true
-		}
-	},
-	"counterstrike" : {
-		"index" : 58,
-		"anim" : 7,
-		"sounds": {
-			"cast": "CNTRSTRK"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"additionalRetaliation" : {
-						"val" : 1,
-						"type" : "ADDITIONAL_RETALIATION",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"additionalRetaliation" : {
-						"val" : 1,
-						"type" : "ADDITIONAL_RETALIATION",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"additionalRetaliation" : {
-						"val" : 2,
-						"type" : "ADDITIONAL_RETALIATION",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"additionalRetaliation" : {
-						"val" : 2,
-						"type" : "ADDITIONAL_RETALIATION",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"flags" : {
-			"positive": true
-		}
-	},
-	"berserk" : {
-		"index" : 59,
-		"anim" : 35,
-		"sounds": {
-			"cast": "BERSERK"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"attacksNearestCreature" : {
-						"val" : 0,
-						"type" : "ATTACKS_NEAREST_CREATURE",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"attacksNearestCreature" : {
-						"val" : 1,
-						"type" : "ATTACKS_NEAREST_CREATURE",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0-1",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"attacksNearestCreature" : {
-						"val" : 2,
-						"type" : "ATTACKS_NEAREST_CREATURE",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "0-2",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"attacksNearestCreature" : {
-						"val" : 3,
-						"type" : "ATTACKS_NEAREST_CREATURE",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-
-		"immunity" : {
-			"MIND_IMMUNITY": true,
-			"UNDEAD": true,
-			"NON_LIVING": true
-		},
-		"flags" : {
-			"negative": true
-		}
-	},
-	"hypnotize" : {
-		"index" : 60,
-		"anim" : 21,
-		"sounds": {
-			"cast": "HYPNOTIZ"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"hypnotized" : {
-						"val" : 0,
-						"type" : "HYPNOTIZED",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"hypnotized" : {
-						"val" : 1,
-						"type" : "HYPNOTIZED",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"hypnotized" : {
-						"val" : 2,
-						"type" : "HYPNOTIZED",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"hypnotized" : {
-						"val" : 3,
-						"type" : "HYPNOTIZED",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-
-		"immunity" : {
-			"MIND_IMMUNITY": true,
-			"UNDEAD": true,
-			"NON_LIVING": true
-		},
-		"flags" : {
-			"negative": true
-		}
-	},
-	"forgetfulness" : {
-		"index" : 61,
-		"targetType" : "CREATURE", 
-		"anim" : 42,
-		"sounds": {
-			"cast": "FORGET"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"forgetfull" : {
-						"val" : 0,
-						"type" : "FORGETFULL",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"forgetfull" : {
-						"val" : 1,
-						"type" : "FORGETFULL",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"forgetfull" : {
-						"val" : 2,
-						"type" : "FORGETFULL",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "X",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"forgetfull" : {
-						"val" : 3,
-						"type" : "FORGETFULL",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"limit" : {
-			"SHOOTER": true
-		},
-		"immunity" : {
-			"MIND_IMMUNITY": true,
-			"UNDEAD": true,
-			"NON_LIVING": true
-		},
-		"flags" : {
-			"negative": true
-		}
-	},
-	"blind" : {
-		"index" : 62,
-		"anim" : 6,
-		"sounds": {
-			"cast": "BLIND"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"notActive" : {
-						"val" : 0,
-						"type" : "NOT_ACTIVE",
-						"subtype" : 62,
-						"duration" : [
-							"UNITL_BEING_ATTACKED",
-							"N_TURNS"
-						]
-					},
-					"generalAttackReduction" : {
-						"type" : "GENERAL_ATTACK_REDUCTION",
-						"duration" : [
-							"UNITL_BEING_ATTACKED",
-							"N_TURNS"
-						]
-					},
-					"noRetaliation" : {
-						"val" : 0,
-						"type" : "NO_RETALIATION",
-						"duration" : "UNITL_BEING_ATTACKED"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"notActive" : {
-						"val" : 0,
-						"type" : "NOT_ACTIVE",
-						"subtype" : 62,
-						"duration" : [
-							"UNITL_BEING_ATTACKED",
-							"N_TURNS"
-						]
-					},
-					"generalAttackReduction" : {
-						"type" : "GENERAL_ATTACK_REDUCTION",
-						"duration" : [
-							"UNITL_BEING_ATTACKED",
-							"N_TURNS"
-						]
-					},
-					"noRetaliation" : {
-						"val" : 0,
-						"type" : "NO_RETALIATION",
-						"duration" : "UNITL_BEING_ATTACKED"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"notActive" : {
-						"val" : 0,
-						"type" : "NOT_ACTIVE",
-						"subtype" : 62,
-						"duration" :[
-							"UNITL_BEING_ATTACKED",
-							"N_TURNS"
-						]
-					},
-					"generalAttackReduction" : {
-						"type" : "GENERAL_ATTACK_REDUCTION",
-						"duration" : [
-							"UNITL_BEING_ATTACKED",
-							"N_TURNS"
-						]
-					},
-					"noRetaliation" : {
-						"val" : 0,
-						"type" : "NO_RETALIATION",
-						"duration" : "UNITL_BEING_ATTACKED"
-					}
-				}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"notActive" : {
-						"val" : 0,
-						"type" : "NOT_ACTIVE",
-						"subtype" : 62,
-						"duration" : [
-							"UNITL_BEING_ATTACKED",
-							"N_TURNS"
-						]
-					},
-					"generalAttackReduction" : {
-						"type" : "GENERAL_ATTACK_REDUCTION",
-						"duration" : [
-							"UNITL_BEING_ATTACKED",
-							"N_TURNS"
-						]
-					},
-					"noRetaliation" : {
-						"val" : 0,
-						"type" : "NO_RETALIATION",
-						"duration" : "UNITL_BEING_ATTACKED"
-					}
-				}
-			}
-		},
-
-		"immunity" : {
-			"MIND_IMMUNITY": true,
-			"UNDEAD": true,
-			"NON_LIVING": true
-		},
-		"flags" : {
-			"negative": true
-		}
-	},
-	"teleport" : {
-		"index" : 63,
-		"anim" : -1,
-		"sounds": {
-			"cast": "TELPTOUT"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":false}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":false}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":false}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":false}
-			}
-		},
-		"immunity" : {
-			"SIEGE_WEAPON": true
-		},
-		"flags" : {
-			"positive": true
-		}
-	},
-	"removeObstacle" : {
-		"index" : 64,
-		"anim" : -1,
-		"sounds": {
-			"cast": "REMOVEOB"
-		},
-		"levels" : {
-			"none":{
-				"range" : "X"
-			},
-			"basic":{
-				"range" : "X"
-			},
-			"advanced":{
-				"range" : "X"
-			},
-			"expert":{
-				"range" : "X"
-			}
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"clone" : {
-		"index" : 65,
-		"anim" : -1,
-		"sounds": {
-			"cast": "CLONE"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true}
-			}
-		},
-		"immunity" : {
-			"SIEGE_WEAPON": true
-		},
-		"flags" : {
-			"positive": true
-		}
-	},
-	"fireElemental" : {
-		"index" : 66,
-		"anim" : -1,
-		"sounds": {
-			"cast": "SUMNELM"
-		},
-		"levels" : {
-			"none":{
-				"range" : "X"
-			},
-			"basic":{
-				"range" : "X"
-			},
-			"advanced":{
-				"range" : "X"
-			},
-			"expert":{
-				"range" : "X"
-			}
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"earthElemental" : {
-		"index" : 67,
-		"anim" : -1,
-		"sounds": {
-			"cast": "SUMNELM"
-		},
-		"levels" : {
-			"none":{
-				"range" : "X"
-			},
-			"basic":{
-				"range" : "X"
-			},
-			"advanced":{
-				"range" : "X"
-			},
-			"expert":{
-				"range" : "X"
-			}
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"waterElemental" : {
-		"index" : 68,
-		"anim" : -1,
-		"sounds": {
-			"cast": "SUMNELM"
-		},
-		"levels" : {
-			"none":{
-				"range" : "X"
-			},
-			"basic":{
-				"range" : "X"
-			},
-			"advanced":{
-				"range" : "X"
-			},
-			"expert":{
-				"range" : "X"
-			}
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"airElemental" : {
-		"index" : 69,
-		"anim" : -1,
-		"sounds": {
-			"cast": "SUMNELM"
-		},
-		"levels" : {
-			"none":{
-				"range" : "X"
-			},
-			"basic":{
-				"range" : "X"
-			},
-			"advanced":{
-				"range" : "X"
-			},
-			"expert":{
-				"range" : "X"
-			}
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"stoneGaze" : {
-		"index" : 70,
-		"anim" : 70,
-		"sounds": {
-			"cast": "PARALYZE"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"notActive" : {
-						"val" : 0,
-						"type" : "NOT_ACTIVE",
-						"subtype" : 62,
-						"duration" : [
-							"UNITL_BEING_ATTACKED",
-							"N_TURNS"
-						]
-					},
-					"noRetaliation" : {
-						"val" : 0,
-						"type" : "NO_RETALIATION",
-						"duration" : "UNITL_BEING_ATTACKED"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"notActive" : {
-						"val" : 0,
-						"type" : "NOT_ACTIVE",
-						"subtype" : 62,
-						"duration" : [
-							"UNITL_BEING_ATTACKED",
-							"N_TURNS"
-						]
-					},
-					"noRetaliation" : {
-						"val" : 0,
-						"type" : "NO_RETALIATION",
-						"duration" : "UNITL_BEING_ATTACKED"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"notActive" : {
-						"val" : 0,
-						"type" : "NOT_ACTIVE",
-						"subtype" : 62,
-						"duration" : [
-							"UNITL_BEING_ATTACKED",
-							"N_TURNS"
-						]
-					},
-					"noRetaliation" : {
-						"val" : 0,
-						"type" : "NO_RETALIATION",
-						"duration" : "UNITL_BEING_ATTACKED"
-					}
-				}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"notActive" : {
-						"val" : 0,
-						"type" : "NOT_ACTIVE",
-						"subtype" : 62,
-						"duration" : [
-							"UNITL_BEING_ATTACKED",
-							"N_TURNS"
-						]
-					},
-					"noRetaliation" : {
-						"val" : 0,
-						"type" : "NO_RETALIATION",
-						"duration" : "UNITL_BEING_ATTACKED"
-					}
-				}
-			}
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"poison" : {
-		"index" : 71,
-		"anim" : 67,
-		"sounds": {
-			"cast": "POISON"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"poison" : {
-						"val" : 30,
-						"type" : "POISON",
-						"valueType" : "INDEPENDENT_MAX",
-						"duration" : "N_TURNS"
-					},
-					"stackHealth" : {
-						"val" : -10,
-						"type" : "STACK_HEALTH",
-						"valueType" : "PERCENT_TO_ALL",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"poison" : {
-						"val" : 30,
-						"type" : "POISON",
-						"valueType" : "INDEPENDENT_MAX",
-						"duration" : "N_TURNS"
-					},
-					"stackHealth" : {
-						"val" : -10,
-						"type" : "STACK_HEALTH",
-						"valueType" : "PERCENT_TO_ALL",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"poison" : {
-						"val" : 30,
-						"type" : "POISON",
-						"valueType" : "INDEPENDENT_MAX",
-						"duration" : "N_TURNS"
-					},
-					"stackHealth" : {
-						"val" : -10,
-						"type" : "STACK_HEALTH",
-						"valueType" : "PERCENT_TO_ALL",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"poison" : {
-						"val" : 30,
-						"type" : "POISON",
-						"valueType" : "INDEPENDENT_MAX",
-						"duration" : "N_TURNS"
-					},
-					"stackHealth" : {
-						"val" : -10,
-						"type" : "STACK_HEALTH",
-						"valueType" : "PERCENT_TO_ALL",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"immunity" : {
-			"UNDEAD": true,
-			"NON_LIVING": true
-		},
-		"flags" : {
-			"negative": true
-		}
-	},
-	"bind" : {
-		"index" : 72,
-		"anim" : 68,
-		"sounds": {
-			"cast": "BIND"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"effects" : {
-					"bindEffect" : {
-						"val" : 0,
-						"type" : "BIND_EFFECT",
-						"duration" : "PERMANENT",
-						"addInfo" : -1
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"effects" : {
-					"bindEffect" : {
-						"val" : 0,
-						"type" : "BIND_EFFECT",
-						"duration" : "PERMANENT",
-						"addInfo" : -1
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"effects" : {
-					"bindEffect" : {
-						"val" : 0,
-						"type" : "BIND_EFFECT",
-						"duration" : "PERMANENT",
-						"addInfo" : -1
-					}
-				}
-			},
-			"expert":{
-				"range" : "0",
-				"effects" : {
-					"bindEffect" : {
-						"val" : 0,
-						"type" : "BIND_EFFECT",
-						"duration" : "PERMANENT",
-						"addInfo" : -1
-					}
-				}
-			}
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"disease" : {
-		"index" : 73,
-		"anim" : 69,
-		"sounds": {
-			"cast": "DISEASE"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"attack" : {
-						"val" : -2,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"duration" : "N_TURNS"
-					},
-					"defence" : {
-						"val" : -2,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.defence",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"attack" : {
-						"val" : -2,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"duration" : "N_TURNS"
-					},
-					"defence" : {
-						"val" : -2,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.defence",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"attack" : {
-						"val" : -2,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"duration" : "N_TURNS"
-					},
-					"defence" : {
-						"val" : -2,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.defence",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"attack" : {
-						"val" : -2,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"duration" : "N_TURNS"
-					},
-					"defence" : {
-						"val" : -2,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.defence",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"immunity" : {
-			"UNDEAD": true,
-			"NON_LIVING": true
-		},
-		"flags" : {
-			"negative": true
-		}
-	},
-	"paralyze" : {
-		"index" : 74,
-		"anim" : 70,
-		"sounds": {
-			"cast": "PARALYZE"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"notActive" : {
-						"val" : 0,
-						"type" : "NOT_ACTIVE",
-						"subtype" : 74,
-						"duration" : [
-							"UNITL_BEING_ATTACKED",
-							"N_TURNS"
-						]
-					},
-					"noRetaliation" : {
-						"val" : 0,
-						"type" : "NO_RETALIATION",
-						"duration" : "UNITL_BEING_ATTACKED"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"notActive" : {
-						"val" : 0,
-						"type" : "NOT_ACTIVE",
-						"subtype" : 74,
-						"duration" : [
-							"UNITL_BEING_ATTACKED",
-							"N_TURNS"
-						]
-					},
-					"noRetaliation" : {
-						"val" : 0,
-						"type" : "NO_RETALIATION",
-						"duration" : "UNITL_BEING_ATTACKED"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"notActive" : {
-						"val" : 0,
-						"type" : "NOT_ACTIVE",
-						"subtype" : 74,
-						"duration" : [
-							"UNITL_BEING_ATTACKED",
-							"N_TURNS"
-						]
-					},
-					"noRetaliation" : {
-						"val" : 0,
-						"type" : "NO_RETALIATION",
-						"duration" : "UNITL_BEING_ATTACKED"
-					}
-				}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"notActive" : {
-						"val" : 0,
-						"type" : "NOT_ACTIVE",
-						"subtype" : 74,
-						"duration" : [
-							"UNITL_BEING_ATTACKED",
-							"N_TURNS"
-						]
-					},
-					"noRetaliation" : {
-						"val" : 0,
-						"type" : "NO_RETALIATION",
-						"duration" : "UNITL_BEING_ATTACKED"
-					}
-				}
-			}
-		},
-		"flags" : {
-			"negative": true
-		}
-	},
-	"age" : {
-		"index" : 75,
-		"anim" : 71,
-		"sounds": {
-			"cast": "AGE"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"stackHealth" : {
-						"val" : -50,
-						"type" : "STACK_HEALTH",
-						"valueType" : "PERCENT_TO_ALL",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"stackHealth" : {
-						"val" : -50,
-						"type" : "STACK_HEALTH",
-						"valueType" : "PERCENT_TO_ALL",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"stackHealth" : {
-						"val" : -50,
-						"type" : "STACK_HEALTH",
-						"valueType" : "PERCENT_TO_ALL",
-						"duration" : "N_TURNS"
-					}
-				}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"stackHealth" : {
-						"val" : -50,
-						"type" : "STACK_HEALTH",
-						"valueType" : "PERCENT_TO_ALL",
-						"duration" : "N_TURNS"
-					}
-				}
-			}
-		},
-		"immunity" : {
-			"UNDEAD": true,
-			"NON_LIVING": true
-		},
-		"flags" : {
-			"negative": true
-		}
-	},
-	"deathCloud" : {
-		"index" : 76,
-		"anim" : 72,
-		"sounds": {
-			"cast": "DEATHCLD"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0-1"
-			},
-			"basic":{
-				"range" : "0-1"
-			},
-			"advanced":{
-				"range" : "0-1"
-			},
-			"expert":{
-				"range" : "0-1"
-			}
-		},
-		"immunity" : {
-			"UNDEAD": true,
-			"NON_LIVING": true
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"thunderbolt" : {
-		"index" : 77,
-		"anim" : 38,
-		"sounds": {
-			"cast": "LIGHTBLT"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0"
-			},
-			"basic":{
-				"range" : "0"
-			},
-			"advanced":{
-				"range" : "0"
-			},
-			"expert":{
-				"range" : "0"
-			}
-		},
-		"flags" : {
-			"damage": true,
-			"offensive": true,
-			"negative": true
-		}
-	},
-	"dispelHelpful" : {
-		"index" : 78,
-		"anim" : 41,
-		"sounds": {
-			"cast": "DISPELL"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0"
-			},
-			"basic":{
-				"range" : "0"
-			},
-			"advanced":{
-				"range" : "0"
-			},
-			"expert":{
-				"range" : "0"
-			}
-		},
-
-		"flags" : {
-			"negative": true
-		}
-	},
-	"deathStare" : {
-		"index" : 79,
-		"anim" : 80,
-		"sounds": {
-			"cast": "DEATHSTR"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0"
-			},
-			"basic":{
-				"range" : "0"
-			},
-			"advanced":{
-				"range" : "0"
-			},
-			"expert":{
-				"range" : "0"
-			}
-		},
-		"immunity" : {
-			"UNDEAD": true,
-			"NON_LIVING": true
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"acidBreath" : {
-		"index" : 80,
-		"anim" : 81,
-		"sounds": {
-			"cast": "ACID"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : -3,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"duration" : "PERMANENT",
-						"valueType" : "ADDITIVE_VALUE"
-					}
-				}
-			},
-			"basic":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : -3,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"duration" : "PERMANENT",
-						"valueType" : "ADDITIVE_VALUE"
-					}
-				}
-			},
-			"advanced":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : -3,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"duration" : "PERMANENT",
-						"valueType" : "ADDITIVE_VALUE"
-					}
-				}
-			},
-			"expert":{
-				"range" : "0",
-				"targetModifier":{"smart":true},
-				"effects" : {
-					"primarySkill" : {
-						"val" : -3,
-						"type" : "PRIMARY_SKILL",
-						"subtype" : "primSkill.attack",
-						"duration" : "PERMANENT",
-						"valueType" : "ADDITIVE_VALUE"
-					}
-				}
-			}
-		},
-		"flags" : {
-			"indifferent": true
-		}
-	},
-	"acidBreathDamage" : {
-		"index" : 81,
-		"anim" : 81,
-		"sounds": {
-			"cast": "ACID"
-		},
-		"levels" : {
-			"none":{
-				"range" : "0"
-			},
-			"basic":{
-				"range" : "0"
-			},
-			"advanced":{
-				"range" : "0"
-			},
-			"expert":{
-				"range" : "0"
-			}
-		},
-		"flags" : {
-			"damage": true,
-			"indifferent": true
-		},
-		"immunity" : {
-			"DIRECT_DAMAGE_IMMUNITY": true
-		}
-	}
-}
+{
+
+
+	"shield" : {
+		"index" : 27,
+		"anim" : 27,
+		"sounds": {
+			"cast": "SHIELD"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"generalDamageReduction" : {
+						"type" : "GENERAL_DAMAGE_REDUCTION",
+						"subtype" : 0,
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"generalDamageReduction" : {
+						"type" : "GENERAL_DAMAGE_REDUCTION",
+						"subtype" : 0,
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"generalDamageReduction" : {
+						"type" : "GENERAL_DAMAGE_REDUCTION",
+						"subtype" : 0,
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"generalDamageReduction" : {
+						"type" : "GENERAL_DAMAGE_REDUCTION",
+						"subtype" : 0,
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"flags" : {
+			"positive": true
+		}
+	},
+	"airShield" : {
+		"index" : 28,
+		"anim" : 2,
+		"sounds": {
+			"cast": "AIRSHELD"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"generalDamageReduction" : {
+						"type" : "GENERAL_DAMAGE_REDUCTION",
+						"subtype" : 1,
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"generalDamageReduction" : {
+						"type" : "GENERAL_DAMAGE_REDUCTION",
+						"subtype" : 1,
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"generalDamageReduction" : {
+						"type" : "GENERAL_DAMAGE_REDUCTION",
+						"subtype" : 1,
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"generalDamageReduction" : {
+						"type" : "GENERAL_DAMAGE_REDUCTION",
+						"subtype" : 1,
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"flags" : {
+			"positive": true
+		}
+	},
+	"fireShield" : {
+		"index" : 29,
+		"anim" : 11,
+		"sounds": {
+			"cast": "FIRESHIE"
+		},
+		// It looks that fireshield has two separate sounds
+		//			"soundfile":"FIRESHLD.wav"
+		//		
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"fireShield" : {
+						"type" : "FIRE_SHIELD",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"fireShield" : {
+						"type" : "FIRE_SHIELD",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"fireShield" : {
+						"type" : "FIRE_SHIELD",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"fireShield" : {
+						"type" : "FIRE_SHIELD",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"flags" : {
+			"positive": true
+		}
+	},
+	"protectAir" : {
+		"index" : 30,
+		"anim" : 22,
+		"sounds": {
+			"cast": "PROTECTA"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"spellDamageReduction" : {
+						"type" : "SPELL_DAMAGE_REDUCTION",
+						"subtype" : 0,
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"spellDamageReduction" : {
+						"type" : "SPELL_DAMAGE_REDUCTION",
+						"subtype" : 0,
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"spellDamageReduction" : {
+						"type" : "SPELL_DAMAGE_REDUCTION",
+						"subtype" : 0,
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"spellDamageReduction" : {
+						"type" : "SPELL_DAMAGE_REDUCTION",
+						"subtype" : 0,
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"flags" : {
+			"positive": true
+		}
+	},
+	"protectFire" : {
+		"index" : 31,
+		"anim" : 24,
+		"sounds": {
+			"cast": "PROTECTF"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"spellDamageReduction" : {
+						"type" : "SPELL_DAMAGE_REDUCTION",
+						"subtype" : 1,
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"spellDamageReduction" : {
+						"type" : "SPELL_DAMAGE_REDUCTION",
+						"subtype" : 1,
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"spellDamageReduction" : {
+						"type" : "SPELL_DAMAGE_REDUCTION",
+						"subtype" : 1,
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"spellDamageReduction" : {
+						"type" : "SPELL_DAMAGE_REDUCTION",
+						"subtype" : 1,
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"flags" : {
+			"positive": true
+		}
+	},
+	"protectWater" : {
+		"index" : 32,
+		"anim" : 23,
+		"sounds": {
+			"cast": "PROTECTW"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"spellDamageReduction" : {
+						"type" : "SPELL_DAMAGE_REDUCTION",
+						"subtype" : 2,
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"spellDamageReduction" : {
+						"type" : "SPELL_DAMAGE_REDUCTION",
+						"subtype" : 2,
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"spellDamageReduction" : {
+						"type" : "SPELL_DAMAGE_REDUCTION",
+						"subtype" : 2,
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"spellDamageReduction" : {
+						"type" : "SPELL_DAMAGE_REDUCTION",
+						"subtype" : 2,
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"flags" : {
+			"positive": true
+		}
+	},
+	"protectEarth" : {
+		"index" : 33,
+		"anim" : 26,
+		"sounds": {
+			"cast": "PROTECTE"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"spellDamageReduction" : {
+						"type" : "SPELL_DAMAGE_REDUCTION",
+						"subtype" : 3,
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"spellDamageReduction" : {
+						"type" : "SPELL_DAMAGE_REDUCTION",
+						"subtype" : 3,
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"spellDamageReduction" : {
+						"type" : "SPELL_DAMAGE_REDUCTION",
+						"subtype" : 3,
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"spellDamageReduction" : {
+						"type" : "SPELL_DAMAGE_REDUCTION",
+						"subtype" : 3,
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"flags" : {
+			"positive": true
+		}
+	},
+	"antiMagic" : {
+		"index" : 34,
+		"anim" : 5,
+		"sounds": {
+			"cast": "ANTIMAGK"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"levelSpellImmunity" : {
+						"val" : 3,
+						"type" : "LEVEL_SPELL_IMMUNITY",
+						"valueType" : "INDEPENDENT_MAX",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"levelSpellImmunity" : {
+						"val" : 3,
+						"type" : "LEVEL_SPELL_IMMUNITY",
+						"valueType" : "INDEPENDENT_MAX",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"levelSpellImmunity" : {
+						"val" : 4,
+						"type" : "LEVEL_SPELL_IMMUNITY",
+						"valueType" : "INDEPENDENT_MAX",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"levelSpellImmunity" : {
+						"val" : 5,
+						"type" : "LEVEL_SPELL_IMMUNITY",
+						"valueType" : "INDEPENDENT_MAX",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"flags" : {
+			"positive": true
+		}
+	},
+
+	"magicMirror" : {
+		"index" : 36,
+		"anim" : 3,
+		"sounds": {
+			"cast": "BACKLASH"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"magicMirror" : {
+						"type" : "MAGIC_MIRROR",
+						"valueType" : "INDEPENDENT_MAX",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"magicMirror" : {
+						"type" : "MAGIC_MIRROR",
+						"valueType" : "INDEPENDENT_MAX",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"magicMirror" : {
+						"type" : "MAGIC_MIRROR",
+						"valueType" : "INDEPENDENT_MAX",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"magicMirror" : {
+						"type" : "MAGIC_MIRROR",
+						"valueType" : "INDEPENDENT_MAX",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"flags" : {
+			"positive": true
+		}
+	},
+
+	"bless" : {
+		"index" : 41,
+		"anim" : 36,
+		"sounds": {
+			"cast": "BLESS"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"alwaysMaximumDamage" : {
+						"val" : 0,
+						"type" : "ALWAYS_MAXIMUM_DAMAGE",
+						"subtype" : -1,
+						"valueType" : "INDEPENDENT_MAX",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"alwaysMaximumDamage" : {
+						"val" : 0,
+						"type" : "ALWAYS_MAXIMUM_DAMAGE",
+						"subtype" : -1,
+						"valueType" : "INDEPENDENT_MAX",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"alwaysMaximumDamage" : {
+						"val" : 1,
+						"type" : "ALWAYS_MAXIMUM_DAMAGE",
+						"subtype" : -1,
+						"valueType" : "INDEPENDENT_MAX",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"alwaysMaximumDamage" : {
+						"val" : 1,
+						"type" : "ALWAYS_MAXIMUM_DAMAGE",
+						"subtype" : -1,
+						"valueType" : "INDEPENDENT_MAX",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"counters" : {
+			"spell.curse": true
+		},
+		"immunity" : {
+			"UNDEAD": true
+		},
+		"flags" : {
+			"positive": true
+		}
+	},
+	"curse" : {
+		"index" : 42,
+		"anim" : 40,
+		"sounds": {
+			"cast": "CURSE"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"alwaysMinimumDamage" : {
+						"addInfo" : 0,
+						"val" : 0,
+						"type" : "ALWAYS_MINIMUM_DAMAGE",
+						"subtype" : -1,
+						"valueType" : "INDEPENDENT_MAX",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"alwaysMinimumDamage" : {
+						"addInfo" : 0,
+						"val" : 0,
+						"type" : "ALWAYS_MINIMUM_DAMAGE",
+						"subtype" : -1,
+						"valueType" : "INDEPENDENT_MAX",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"alwaysMinimumDamage" : {
+						"addInfo" : 20,
+						"val" : 1,
+						"type" : "ALWAYS_MINIMUM_DAMAGE",
+						"subtype" : -1,
+						"valueType" : "INDEPENDENT_MAX",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"alwaysMinimumDamage" : {
+						"addInfo" : 20,
+						"val" : 1,
+						"type" : "ALWAYS_MINIMUM_DAMAGE",
+						"subtype" : -1,
+						"valueType" : "INDEPENDENT_MAX",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"counters" : {
+			"spell.bless": true
+		},
+		"immunity" : {
+			"UNDEAD": true
+		},
+		"flags" : {
+			"negative": true
+		}
+	},
+	"bloodlust" : {
+		"index" : 43,
+		"anim" : 4,
+		"sounds": {
+			"cast": "BLOODLUS"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : 3,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"effectRange" : "ONLY_MELEE_FIGHT",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : 3,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"effectRange" : "ONLY_MELEE_FIGHT",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : 6,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"effectRange" : "ONLY_MELEE_FIGHT",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : 6,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"effectRange" : "ONLY_MELEE_FIGHT",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"counters" : {
+			"spell.weakness": true
+		},
+		"flags" : {
+			"positive": true
+		}
+	},
+	"precision" : {
+		"index" : 44,
+		"anim" : 25,
+		"sounds": {
+			"cast": "PRECISON"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : 3,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"effectRange" : "ONLY_DISTANCE_FIGHT",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : 3,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"effectRange" : "ONLY_DISTANCE_FIGHT",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : 6,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"effectRange" : "ONLY_DISTANCE_FIGHT",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : 6,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"effectRange" : "ONLY_DISTANCE_FIGHT",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"limit" : {
+			"SHOOTER": true
+		},
+		"flags" : {
+			"positive": true
+		}
+	},
+	"weakness" : {
+		"index" : 45,
+		"anim" : 56,
+		"sounds": {
+			"cast": "WEAKNESS"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : -3,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : -3,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : -6,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : -6,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"counters" : {
+			"spell.bloodlust": true
+		},
+		"flags" : {
+			"negative": true
+		}
+	},
+	"stoneSkin" : {
+		"index" : 46,
+		"anim" : 54,
+		"sounds": {
+			"cast": "TUFFSKIN"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : 3,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.defence",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : 3,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.defence",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : 6,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.defence",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : 6,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.defence",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"flags" : {
+			"positive": true
+		}
+	},
+	"disruptingRay" : {
+		"index" : 47,
+				"targetType" : "CREATURE", //fix, dont remove
+		"anim" : 14,
+		"sounds": {
+			"cast": "DISRUPTR"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : -3,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.defence",
+						"valueType" : "ADDITIVE_VALUE",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : -3,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.defence",
+						"valueType" : "ADDITIVE_VALUE",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : -4,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.defence",
+						"valueType" : "ADDITIVE_VALUE",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"primarySkill" : {
+						"val" : -5,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.defence",
+						"valueType" : "ADDITIVE_VALUE",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"flags" : {
+			"negative": true
+		}
+	},
+	"prayer" : {
+		"index" : 48,
+		"anim" : 0,
+		"sounds": {
+			"cast": "PRAYER"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"attack" : {
+						"val" : 2,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"duration" : "N_TURNS"
+					},
+					"defence" : {
+						"val" : 2,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.defence",
+						"duration" : "N_TURNS"
+					},
+					"stacksSpeed" : {
+						"addInfo" : 0,
+						"val" : 2,
+						"type" : "STACKS_SPEED",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"attack" : {
+						"val" : 2,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"duration" : "N_TURNS"
+					},
+					"defence" : {
+						"val" : 2,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.defence",
+						"duration" : "N_TURNS"
+					},
+					"stacksSpeed" : {
+						"addInfo" : 0,
+						"val" : 2,
+						"type" : "STACKS_SPEED",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"attack" : {
+						"val" : 4,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"duration" : "N_TURNS"
+					},
+					"defence" : {
+						"val" : 4,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.defence",
+						"duration" : "N_TURNS"
+					},
+					"stacksSpeed" : {
+						"addInfo" : 0,
+						"val" : 4,
+						"type" : "STACKS_SPEED",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"attack" : {
+						"val" : 4,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.attack",
+						"duration" : "N_TURNS"
+					},
+					"defence" : {
+						"val" : 4,
+						"type" : "PRIMARY_SKILL",
+						"subtype" : "primSkill.defence",
+						"duration" : "N_TURNS"
+					},
+					"stacksSpeed" : {
+						"addInfo" : 0,
+						"val" : 4,
+						"type" : "STACKS_SPEED",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"flags" : {
+			"positive": true
+		}
+	},
+	"mirth" : {
+		"index" : 49,
+		"anim" : 20,
+		"sounds": {
+			"cast": "MIRTH"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"morale" : {
+						"val" : 1,
+						"type" : "MORALE",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"morale" : {
+						"val" : 1,
+						"type" : "MORALE",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"morale" : {
+						"val" : 2,
+						"type" : "MORALE",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "X",
+				"effects" : {
+					"morale" : {
+						"val" : 2,
+						"type" : "MORALE",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"counters" : {
+			"spell.sorrow":true
+		},
+		"flags" : {
+			"positive": true
+		}
+	},
+	"sorrow" : {
+		"index" : 50,
+		"anim" : 30,
+		"sounds": {
+			"cast": "SORROW"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"morale" : {
+						"val" : -1,
+						"type" : "MORALE",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"morale" : {
+						"val" : -1,
+						"type" : "MORALE",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"morale" : {
+						"val" : -2,
+						"type" : "MORALE",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"morale" : {
+						"val" : -2,
+						"type" : "MORALE",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"counters" : {
+			"spell.mirth":true
+		},
+		"immunity" : {
+			"MIND_IMMUNITY": true,
+			"UNDEAD": true,
+			"NON_LIVING": true
+		},
+		"flags" : {
+			"negative": true
+		}
+	},
+	"fortune" : {
+		"index" : 51,
+		"anim" : 18,
+		"sounds": {
+			"cast": "FORTUNE"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"luck" : {
+						"val" : 1,
+						"type" : "LUCK",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"luck" : {
+						"val" : 1,
+						"type" : "LUCK",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"luck" : {
+						"val" : 2,
+						"type" : "LUCK",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"luck" : {
+						"val" : 2,
+						"type" : "LUCK",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"counters" : {
+			"spell.misfortune": true
+		},
+		"flags" : {
+			"positive": true
+		}
+	},
+	"misfortune" : {
+		"index" : 52,
+		"anim" : 48,
+		"sounds": {
+			"cast": "MISFORT"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"luck" : {
+						"val" : -1,
+						"type" : "LUCK",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"luck" : {
+						"val" : -1,
+						"type" : "LUCK",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"luck" : {
+						"val" : -2,
+						"type" : "LUCK",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"luck" : {
+						"val" : -2,
+						"type" : "LUCK",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"counters" : {
+			"spell.fortune":true
+		},
+		"flags" : {
+			"negative": true
+		}
+	},
+	"haste" : {
+		"index" : 53,
+		"anim" : 31,
+		"sounds": {
+			"cast": "HASTE"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"stacksSpeed" : {
+						"addInfo" : 0,
+						"val" : 3,
+						"type" : "STACKS_SPEED",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"stacksSpeed" : {
+						"addInfo" : 0,
+						"val" : 3,
+						"type" : "STACKS_SPEED",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"stacksSpeed" : {
+						"addInfo" : 0,
+						"val" : 5,
+						"type" : "STACKS_SPEED",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"stacksSpeed" : {
+						"addInfo" : 0,
+						"val" : 5,
+						"type" : "STACKS_SPEED",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"counters" : {
+			"spell.slow": true
+		},
+		"immunity" : {
+			"SIEGE_WEAPON": true
+		},
+		"flags" : {
+			"positive": true
+		}
+	},
+	"slow" : {
+		"index" : 54,
+		"anim" : 19,
+		"sounds": {
+			"cast": "MUCKMIRE"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"stacksSpeed" : {
+						"addInfo" : 0,
+						"val" : -25,
+						"type" : "STACKS_SPEED",
+						"valueType" : "PERCENT_TO_ALL",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"stacksSpeed" : {
+						"addInfo" : 0,
+						"val" : -25,
+						"type" : "STACKS_SPEED",
+						"valueType" : "PERCENT_TO_ALL",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"stacksSpeed" : {
+						"addInfo" : 0,
+						"val" : -50,
+						"type" : "STACKS_SPEED",
+						"valueType" : "PERCENT_TO_ALL",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"stacksSpeed" : {
+						"addInfo" : 0,
+						"val" : -50,
+						"type" : "STACKS_SPEED",
+						"valueType" : "PERCENT_TO_ALL",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+
+		"counters" : {
+			"spell.haste":true
+		},
+		"immunity" : {
+			"SIEGE_WEAPON": true
+		},
+		"flags" : {
+			"negative": true
+		}
+	},
+	"slayer" : {
+		"index" : 55,
+		"anim" : 28,
+		"sounds": {
+			"cast": "SLAYER"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"slayer" : {
+						"val" : 0,
+						"type" : "SLAYER",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"slayer" : {
+						"val" : 1,
+						"type" : "SLAYER",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"slayer" : {
+						"val" : 2,
+						"type" : "SLAYER",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"slayer" : {
+						"val" : 3,
+						"type" : "SLAYER",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"flags" : {
+			"positive": true
+		}
+	},
+	"frenzy" : {
+		"index" : 56,
+		"anim" : 17,
+		"sounds": {
+			"cast": "FRENZY"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"inFrenzy" : {
+						"val" : 100,
+						"type" : "IN_FRENZY",
+						"duration" : "STACK_GETS_TURN"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"inFrenzy" : {
+						"val" : 100,
+						"type" : "IN_FRENZY",
+						"duration" : "STACK_GETS_TURN"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"inFrenzy" : {
+						"val" : 150,
+						"type" : "IN_FRENZY",
+						"duration" : "STACK_GETS_TURN"
+					}
+				}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"inFrenzy" : {
+						"val" : 200,
+						"type" : "IN_FRENZY",
+						"duration" : "STACK_GETS_TURN"
+					}
+				}
+			}
+		},
+		"flags" : {
+			"positive": true
+		}
+	},
+	"titanBolt" : {
+		"index" : 57,
+		"anim" : 38,
+		"sounds": {
+			"cast": "LIGHTBLT"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true}
+			}
+		},
+		"flags" : {
+			"damage": true,
+			"offensive": true,
+			"negative": true,
+						"special": true
+		}
+	},
+	"counterstrike" : {
+		"index" : 58,
+		"anim" : 7,
+		"sounds": {
+			"cast": "CNTRSTRK"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"additionalRetaliation" : {
+						"val" : 1,
+						"type" : "ADDITIONAL_RETALIATION",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"additionalRetaliation" : {
+						"val" : 1,
+						"type" : "ADDITIONAL_RETALIATION",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"additionalRetaliation" : {
+						"val" : 2,
+						"type" : "ADDITIONAL_RETALIATION",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"additionalRetaliation" : {
+						"val" : 2,
+						"type" : "ADDITIONAL_RETALIATION",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"flags" : {
+			"positive": true
+		}
+	},
+	"berserk" : {
+		"index" : 59,
+		"anim" : 35,
+		"sounds": {
+			"cast": "BERSERK"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"attacksNearestCreature" : {
+						"val" : 0,
+						"type" : "ATTACKS_NEAREST_CREATURE",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"attacksNearestCreature" : {
+						"val" : 1,
+						"type" : "ATTACKS_NEAREST_CREATURE",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0-1",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"attacksNearestCreature" : {
+						"val" : 2,
+						"type" : "ATTACKS_NEAREST_CREATURE",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "0-2",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"attacksNearestCreature" : {
+						"val" : 3,
+						"type" : "ATTACKS_NEAREST_CREATURE",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+
+		"immunity" : {
+			"MIND_IMMUNITY": true,
+			"UNDEAD": true,
+			"NON_LIVING": true
+		},
+		"flags" : {
+			"negative": true
+		}
+	},
+	"hypnotize" : {
+		"index" : 60,
+		"anim" : 21,
+		"sounds": {
+			"cast": "HYPNOTIZ"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"hypnotized" : {
+						"val" : 0,
+						"type" : "HYPNOTIZED",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"hypnotized" : {
+						"val" : 1,
+						"type" : "HYPNOTIZED",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"hypnotized" : {
+						"val" : 2,
+						"type" : "HYPNOTIZED",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"hypnotized" : {
+						"val" : 3,
+						"type" : "HYPNOTIZED",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+
+		"immunity" : {
+			"MIND_IMMUNITY": true,
+			"UNDEAD": true,
+			"NON_LIVING": true
+		},
+		"flags" : {
+			"negative": true
+		}
+	},
+	"forgetfulness" : {
+		"index" : 61,
+		"targetType" : "CREATURE", 
+		"anim" : 42,
+		"sounds": {
+			"cast": "FORGET"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"forgetfull" : {
+						"val" : 0,
+						"type" : "FORGETFULL",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"forgetfull" : {
+						"val" : 1,
+						"type" : "FORGETFULL",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"forgetfull" : {
+						"val" : 2,
+						"type" : "FORGETFULL",
+						"duration" : "N_TURNS"
+					}
+				}
+			},
+			"expert":{
+				"range" : "X",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"forgetfull" : {
+						"val" : 3,
+						"type" : "FORGETFULL",
+						"duration" : "N_TURNS"
+					}
+				}
+			}
+		},
+		"limit" : {
+			"SHOOTER": true
+		},
+		"immunity" : {
+			"MIND_IMMUNITY": true,
+			"UNDEAD": true,
+			"NON_LIVING": true
+		},
+		"flags" : {
+			"negative": true
+		}
+	},
+	"blind" : {
+		"index" : 62,
+		"anim" : 6,
+		"sounds": {
+			"cast": "BLIND"
+		},
+		"levels" : {
+			"none":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"notActive" : {
+						"val" : 0,
+						"type" : "NOT_ACTIVE",
+						"subtype" : 62,
+						"duration" : [
+							"UNITL_BEING_ATTACKED",
+							"N_TURNS"
+						]
+					},
+					"generalAttackReduction" : {
+						"type" : "GENERAL_ATTACK_REDUCTION",
+						"duration" : [
+							"UNITL_BEING_ATTACKED",
+							"N_TURNS"
+						]
+					},
+					"noRetaliation" : {
+						"val" : 0,
+						"type" : "NO_RETALIATION",
+						"duration" : "UNITL_BEING_ATTACKED"
+					}
+				}
+			},
+			"basic":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"notActive" : {
+						"val" : 0,
+						"type" : "NOT_ACTIVE",
+						"subtype" : 62,
+						"duration" : [
+							"UNITL_BEING_ATTACKED",
+							"N_TURNS"
+						]
+					},
+					"generalAttackReduction" : {
+						"type" : "GENERAL_ATTACK_REDUCTION",
+						"duration" : [
+							"UNITL_BEING_ATTACKED",
+							"N_TURNS"
+						]
+					},
+					"noRetaliation" : {
+						"val" : 0,
+						"type" : "NO_RETALIATION",
+						"duration" : "UNITL_BEING_ATTACKED"
+					}
+				}
+			},
+			"advanced":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"notActive" : {
+						"val" : 0,
+						"type" : "NOT_ACTIVE",
+						"subtype" : 62,
+						"duration" :[
+							"UNITL_BEING_ATTACKED",
+							"N_TURNS"
+						]
+					},
+					"generalAttackReduction" : {
+						"type" : "GENERAL_ATTACK_REDUCTION",
+						"duration" : [
+							"UNITL_BEING_ATTACKED",
+							"N_TURNS"
+						]
+					},
+					"noRetaliation" : {
+						"val" : 0,
+						"type" : "NO_RETALIATION",
+						"duration" : "UNITL_BEING_ATTACKED"
+					}
+				}
+			},
+			"expert":{
+				"range" : "0",
+				"targetModifier":{"smart":true},
+				"effects" : {
+					"notActive" : {
+						"val" : 0,
+						"type" : "NOT_ACTIVE",
+						"subtype" : 62,
+						"duration" : [
+							"UNITL_BEING_ATTACKED",
+							"N_TURNS"
+						]
+					},
+					"generalAttackReduction" : {
+						"type" : "GENERAL_ATTACK_REDUCTION",
+						"duration" : [
+							"UNITL_BEING_ATTACKED",
+							"N_TURNS"
+						]
+					},
+					"noRetaliation" : {
+						"val" : 0,
+						"type" : "NO_RETALIATION",
+						"duration" : "UNITL_BEING_ATTACKED"
+					}
+				}
+			}
+		},
+
+		"immunity" : {
+			"MIND_IMMUNITY": true,
+			"UNDEAD": true,
+			"NON_LIVING": true
+		},
+		"flags" : {
+			"negative": true
+		}
+	}
+}