1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Merge pull request #192 from vmarkovtsev/feature/petrified_damage

Implement half damage to petrified units
This commit is contained in:
ArseniyShestakov
2016-02-08 02:33:44 +03:00

View File

@@ -1,10 +1,10 @@
{ {
"stoneGaze" : { "stoneGaze" : {
"index" : 70, "index" : 70,
"targetType": "NO_TARGET", "targetType": "NO_TARGET",
"animation":{ "animation":{
//need special animation //need special animation
}, },
"sounds": { "sounds": {
"cast": "PARALYZE" "cast": "PARALYZE"
}, },
@@ -26,8 +26,18 @@
"val" : 0, "val" : 0,
"type" : "NO_RETALIATION", "type" : "NO_RETALIATION",
"duration" : "UNITL_BEING_ATTACKED" "duration" : "UNITL_BEING_ATTACKED"
},
"defenceBoost" : {
"type" : "PRIMARY_SKILL",
"subtype" : "primSkill.defence",
"val" : 50,
"valueType" : "PERCENT_TO_ALL",
"duration" : [
"UNITL_BEING_ATTACKED",
"N_TURNS"
]}
} }
} }
} }
}, },
"flags" : { "flags" : {
@@ -37,10 +47,10 @@
"poison" : { "poison" : {
"index" : 71, "index" : 71,
"targetType": "NO_TARGET", "targetType": "NO_TARGET",
"animation":{ "animation":{
"affect":["SP11_"] "affect":["SP11_"]
}, },
"sounds": { "sounds": {
"cast": "POISON" "cast": "POISON"
}, },
@@ -61,7 +71,7 @@
"valueType" : "PERCENT_TO_ALL", "valueType" : "PERCENT_TO_ALL",
"duration" : "N_TURNS" "duration" : "N_TURNS"
} }
} }
} }
}, },
"immunity" : { "immunity" : {
@@ -75,10 +85,10 @@
"bind" : { "bind" : {
"index" : 72, "index" : 72,
"targetType": "NO_TARGET", "targetType": "NO_TARGET",
"animation":{ "animation":{
"affect":["SP02_"] "affect":["SP02_"]
}, },
"sounds": { "sounds": {
"cast": "BIND" "cast": "BIND"
}, },
@@ -92,7 +102,7 @@
"duration" : "PERMANENT", "duration" : "PERMANENT",
"addInfo" : -1 "addInfo" : -1
} }
} }
} }
}, },
"flags" : { "flags" : {
@@ -102,10 +112,10 @@
"disease" : { "disease" : {
"index" : 73, "index" : 73,
"targetType": "NO_TARGET", "targetType": "NO_TARGET",
"animation":{ "animation":{
"affect":["SP05_"] "affect":["SP05_"]
}, },
"sounds": { "sounds": {
"cast": "DISEASE" "cast": "DISEASE"
}, },
@@ -126,7 +136,7 @@
"subtype" : "primSkill.defence", "subtype" : "primSkill.defence",
"duration" : "N_TURNS" "duration" : "N_TURNS"
} }
} }
} }
}, },
"immunity" : { "immunity" : {
@@ -140,10 +150,10 @@
"paralyze" : { "paralyze" : {
"index" : 74, "index" : 74,
"targetType": "NO_TARGET", "targetType": "NO_TARGET",
"animation":{ "animation":{
//missing //missing
}, },
"sounds": { "sounds": {
"cast": "PARALYZE" "cast": "PARALYZE"
}, },
@@ -176,10 +186,10 @@
"age" : { "age" : {
"index" : 75, "index" : 75,
"targetType": "NO_TARGET", "targetType": "NO_TARGET",
"animation":{ "animation":{
"affect":["SP01_"] "affect":["SP01_"]
}, },
"sounds": { "sounds": {
"cast": "AGE" "cast": "AGE"
}, },
@@ -208,10 +218,10 @@
"deathCloud" : { "deathCloud" : {
"index" : 76, "index" : 76,
"targetType": "NO_TARGET", "targetType": "NO_TARGET",
"animation":{ "animation":{
"hit":["SP04_"] "hit":["SP04_"]
}, },
"sounds": { "sounds": {
"cast": "DEATHCLD" "cast": "DEATHCLD"
}, },
@@ -231,10 +241,10 @@
"thunderbolt" : { "thunderbolt" : {
"index" : 77, "index" : 77,
"targetType": "NO_TARGET", "targetType": "NO_TARGET",
"animation":{ "animation":{
"affect":[{"defName":"C03SPA0", "verticalPosition":"bottom"}, "C11SPA1"] "affect":[{"defName":"C03SPA0", "verticalPosition":"bottom"}, "C11SPA1"]
}, },
"sounds": { "sounds": {
"cast": "LIGHTBLT" "cast": "LIGHTBLT"
}, },
@@ -252,10 +262,10 @@
"dispelHelpful" : { "dispelHelpful" : {
"index" : 78, "index" : 78,
"targetType": "NO_TARGET", "targetType": "NO_TARGET",
"animation":{ "animation":{
"affect":["C05SPW"] "affect":["C05SPW"]
}, },
"sounds": { "sounds": {
"cast": "DISPELL" "cast": "DISPELL"
}, },
@@ -272,10 +282,10 @@
"deathStare" : { "deathStare" : {
"index" : 79, "index" : 79,
"targetType": "NO_TARGET", "targetType": "NO_TARGET",
"animation":{ "animation":{
"affect":["C07SPE0"] "affect":["C07SPE0"]
}, },
"sounds": { "sounds": {
"cast": "DEATHSTR" "cast": "DEATHSTR"
}, },
@@ -295,10 +305,10 @@
"acidBreath" : { "acidBreath" : {
"index" : 80, "index" : 80,
"targetType": "NO_TARGET", "targetType": "NO_TARGET",
"animation":{ "animation":{
//??? //???
}, },
"sounds": { "sounds": {
"cast": "ACID" "cast": "ACID"
}, },
@@ -324,10 +334,10 @@
"acidBreathDamage" : { "acidBreathDamage" : {
"index" : 81, "index" : 81,
"targetType": "NO_TARGET", "targetType": "NO_TARGET",
"animation":{ "animation":{
"affect":["C17SPW0"] "affect":["C17SPW0"]
}, },
"sounds": { "sounds": {
"cast": "ACID" "cast": "ACID"
}, },