1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

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

This commit is contained in:
DjWarmonger 2013-12-28 19:27:19 +00:00
parent f6c1dace6c
commit 14065f8c80

View File

@ -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", "type" : "WATER_IMMUNITY",
"subtype" : "spell.iceBolt" "subtype" : 2 //immune to damage spells only
},
"frostRingImmunity" :
{
"type" : "SPELL_IMMUNITY",
"subtype" : "spell.frostRing"
} }
}, },
"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" :