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

- Undead and non-living creatures will be now immune to mind spells (should be hardcoded?). It solves #1334.

- Added lots of missing spell immunities from Strategija
- Added stone gaze immunity for Troglodytes (did you know about it?)
This commit is contained in:
DjWarmonger 2013-07-22 14:12:20 +00:00
parent 02cbdf132b
commit 13acb58d55
2 changed files with 28 additions and 11 deletions

View File

@ -10,6 +10,11 @@
{
"type" : "SPELL_IMMUNITY",
"subtype" : "spell.blind"
},
"petrifyImmunity" :
{
"type" : "SPELL_IMMUNITY",
"subtype" : "spell.stoneGaze"
}
},
"upgrades": ["infernalTroglodyte"],
@ -38,6 +43,11 @@
{
"type" : "SPELL_IMMUNITY",
"subtype" : "spell.blind"
},
"petrifyImmunity" :
{
"type" : "SPELL_IMMUNITY",
"subtype" : "spell.stoneGaze"
}
},
"graphics" :

View File

@ -421,7 +421,8 @@
"effect": 1,
"anim": 79,
"ranges": [ "0", "0", "0", "0" ],
"flags" : ["rising"]
"flags" : ["rising"],
"immunity":["UNDEAD", "NON_LIVING"]
},
"animateDead" :
{
@ -430,6 +431,7 @@
"anim": 79,
"ranges": [ "0", "0", "0", "0" ],
"flags" : ["rising"]
//TODO: immunity for living creatures
},
"sacrifice" :
{
@ -623,7 +625,7 @@
"values":[-1,-1,-2,-2]
}
],
"immunity":["MIND_IMMUNITY"]
"immunity":["MIND_IMMUNITY", "UNDEAD", "NON_LIVING"]
},
"fortune" :
{
@ -767,7 +769,7 @@
"values":[0,1,2,3]
}
],
"immunity":["MIND_IMMUNITY"]
"immunity":["MIND_IMMUNITY", "UNDEAD", "NON_LIVING"]
},
"hypnotize" :
{
@ -786,7 +788,7 @@
"values":[0,1,2,3]
}
],
"immunity":["MIND_IMMUNITY"]
"immunity":["MIND_IMMUNITY", "UNDEAD", "NON_LIVING"]
},
"forgetfulness" :
{
@ -803,7 +805,7 @@
}
],
"limit":["SHOOTER"],
"immunity":["MIND_IMMUNITY"]
"immunity":["MIND_IMMUNITY", "UNDEAD", "NON_LIVING"]
},
"blind" :
{
@ -832,7 +834,7 @@
"values":[0,0,0,0]
}
],
"immunity":["MIND_IMMUNITY"]
"immunity":["MIND_IMMUNITY", "UNDEAD", "NON_LIVING"]
},
"teleport" :
{
@ -927,7 +929,8 @@
"duration": "N_TURNS",
"values":[-10,-10,-10,-10]
}
]
],
"immunity":["UNDEAD", "NON_LIVING"]
},
"bind" :
{
@ -965,7 +968,8 @@
"duration": "N_TURNS",
"values":[-2,-2,-2,-2]
}
]
],
"immunity":["UNDEAD", "NON_LIVING"]
},
"paralyze" :
{
@ -1002,14 +1006,16 @@
"duration": "N_TURNS",
"values":[-50,-50,-50,-50]
}
]
],
"immunity":["UNDEAD", "NON_LIVING"]
},
"deathCloud" :
{
"id": 76,
"effect": 0,
"anim": 72,
"ranges": [ "0-1", "0-1", "0-1", "0-1" ]
"ranges": [ "0-1", "0-1", "0-1", "0-1" ],
"immunity":["UNDEAD", "NON_LIVING"]
},
"thunderbolt" :
{
@ -1034,7 +1040,8 @@
"id": 79,
"effect": 0,
"anim": 80,
"ranges": [ "0", "0", "0", "0" ]
"ranges": [ "0", "0", "0", "0" ],
"immunity":["UNDEAD", "NON_LIVING"]
},
"acidBreath" :
{