浏览代码

Fixed #1637 - Water and Ice Elementals will now be immune to water damage spells.

DjWarmonger 11 年之前
父节点
当前提交
14065f8c80
共有 1 个文件被更改,包括 8 次插入40 次删除
  1. 8 40
      config/creatures/conflux.json

+ 8 - 40
config/creatures/conflux.json

@@ -36,10 +36,6 @@
 		"upgrades": ["stormElemental"],
 		"upgrades": ["stormElemental"],
 		"graphics" :
 		"graphics" :
 		{
 		{
-			"animationTime" :
-			{
-				"idle" : 0
-			},
 			"animation": "CAELEM.DEF"
 			"animation": "CAELEM.DEF"
 		},
 		},
 		"sound" :
 		"sound" :
@@ -86,10 +82,6 @@
 		"upgrades": ["magmaElemental"],
 		"upgrades": ["magmaElemental"],
 		"graphics" :
 		"graphics" :
 		{
 		{
-			"animationTime" :
-			{
-				"idle" : 0
-			},
 			"animation": "CEELEM.DEF"
 			"animation": "CEELEM.DEF"
 		},
 		},
 		"sound" :
 		"sound" :
@@ -137,10 +129,6 @@
 		"upgrades": ["energyElemental"],
 		"upgrades": ["energyElemental"],
 		"graphics" :
 		"graphics" :
 		{
 		{
-			"animationTime" :
-			{
-				"idle" : 0
-			},
 			"animation": "CFELEM.DEF"
 			"animation": "CFELEM.DEF"
 		},
 		},
 		"sound" :
 		"sound" :
@@ -192,25 +180,16 @@
 				"subtype" : "spell.fireWall",
 				"subtype" : "spell.fireWall",
 				"val" : 100
 				"val" : 100
 			},
 			},
-			"iceBoltImmunity" :
+			"immuneToWater" :
 			{
 			{
-				"type" : "SPELL_IMMUNITY",
-				"subtype" : "spell.iceBolt"
-			},
-			"frostRingImmunity" :
-			{
-				"type" : "SPELL_IMMUNITY",
-				"subtype" : "spell.frostRing"
+				"type" : "WATER_IMMUNITY",
+				"subtype" : 2 //immune to damage spells only
 			}
 			}
 		},
 		},
 		"doubleWide" : true,
 		"doubleWide" : true,
 		"upgrades": ["iceElemental"],
 		"upgrades": ["iceElemental"],
 		"graphics" :
 		"graphics" :
 		{
 		{
-			"animationTime" :
-			{
-				"idle" : 0
-			},
 			"animation": "CWELEM.DEF"
 			"animation": "CWELEM.DEF"
 		},
 		},
 		"sound" :
 		"sound" :
@@ -344,16 +323,17 @@
 				"type" : "SPELLCASTER",
 				"type" : "SPELLCASTER",
 				"subtype" : "spell.protectWater",
 				"subtype" : "spell.protectWater",
 				"val" : 2
 				"val" : 2
+			},
+			"immuneToWater" :
+			{
+				"type" : "WATER_IMMUNITY",
+				"subtype" : 2 //immune to damage spells only
 			}
 			}
 		},
 		},
 		"doubleWide" : true,
 		"doubleWide" : true,
 		"graphics" :
 		"graphics" :
 		{
 		{
 			"animation": "CICEE.DEF",
 			"animation": "CICEE.DEF",
-			"animationTime" :
-			{
-				"idle" : 0
-			},
 			"missile" :
 			"missile" :
 			{
 			{
 				"projectile": "PICEE.DEF"
 				"projectile": "PICEE.DEF"
@@ -399,10 +379,6 @@
 		},
 		},
 		"graphics" :
 		"graphics" :
 		{
 		{
-			"animationTime" :
-			{
-				"idle" : 0
-			},
 			"animation": "CSTONE.DEF"
 			"animation": "CSTONE.DEF"
 		},
 		},
 		"sound" :
 		"sound" :
@@ -444,10 +420,6 @@
 		},
 		},
 		"graphics" :
 		"graphics" :
 		{
 		{
-			"animationTime" :
-			{
-				"idle" : 0
-			},
 			"animation": "CSTORM.DEF",
 			"animation": "CSTORM.DEF",
 			"missile" :
 			"missile" :
 			{
 			{
@@ -499,10 +471,6 @@
 		},
 		},
 		"graphics" :
 		"graphics" :
 		{
 		{
-			"animationTime" :
-			{
-				"idle" : 0
-			},
 			"animation": "CNRG.DEF"
 			"animation": "CNRG.DEF"
 		},
 		},
 		"sound" :
 		"sound" :