mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fixed Gargoyles immunity, issue 3112.
Gargoyles should be resistant to the same effects that NON_LIVING creature are, minus mind spells. It also shouldn't be affected by Resurrection and Sacrifice spells, and Elixir of Life.
This commit is contained in:
parent
b6ee5d09bc
commit
728ee73612
@ -1924,23 +1924,35 @@
|
||||
"type" : "STACK_HEALTH",
|
||||
"val" : 25,
|
||||
"valueType" : "PERCENT_TO_BASE",
|
||||
"limiters" : [
|
||||
"noneOf",
|
||||
"IS_UNDEAD",
|
||||
{
|
||||
"type" : "HAS_ANOTHER_BONUS_LIMITER",
|
||||
"parameters" : [ "NON_LIVING" ]
|
||||
},
|
||||
{
|
||||
"type" : "STACK_HEALTH",
|
||||
"val" : -25,
|
||||
"valueType" : "PERCENT_TO_BASE",
|
||||
"limiters" : ["IS_UNDEAD"]
|
||||
"type" : "HAS_ANOTHER_BONUS_LIMITER",
|
||||
"parameters" : [ "GARGOYLE" ]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type" : "HP_REGENERATION",
|
||||
"val" : 50,
|
||||
"valueType" : "BASE_NUMBER"
|
||||
"valueType" : "PERCENT_TO_BASE",
|
||||
"limiters" : [
|
||||
"noneOf",
|
||||
"IS_UNDEAD",
|
||||
{
|
||||
"type" : "HAS_ANOTHER_BONUS_LIMITER",
|
||||
"parameters" : [ "NON_LIVING" ]
|
||||
},
|
||||
{
|
||||
"type" : "HP_REGENERATION",
|
||||
"val" : -50,
|
||||
"valueType" : "BASE_NUMBER",
|
||||
"limiters" : ["IS_UNDEAD"]
|
||||
"type" : "HAS_ANOTHER_BONUS_LIMITER",
|
||||
"parameters" : [ "GARGOYLE" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"index" : 131,
|
||||
|
@ -87,9 +87,10 @@
|
||||
},
|
||||
"targetCondition" : {
|
||||
"noneOf" : {
|
||||
"bonus.NON_LIVING" : "normal",
|
||||
"bonus.NON_LIVING" : "absolute",
|
||||
"bonus.SIEGE_WEAPON" : "absolute",
|
||||
"bonus.UNDEAD" : "normal"
|
||||
"bonus.UNDEAD" : "absolute",
|
||||
"bonus.GARGOYLE" : "absolute"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -235,9 +236,10 @@
|
||||
},
|
||||
"targetCondition" : {
|
||||
"noneOf" : {
|
||||
"bonus.NON_LIVING" : "normal",
|
||||
"bonus.NON_LIVING" : "absolute",
|
||||
"bonus.SIEGE_WEAPON" : "absolute",
|
||||
"bonus.UNDEAD" : "normal"
|
||||
"bonus.UNDEAD" : "absolute",
|
||||
"bonus.GARGOYLE" : "absolute"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -266,9 +268,10 @@
|
||||
},
|
||||
"targetCondition" : {
|
||||
"noneOf" : {
|
||||
"bonus.NON_LIVING" : "normal",
|
||||
"bonus.NON_LIVING" : "absolute",
|
||||
"bonus.SIEGE_WEAPON" : "absolute",
|
||||
"bonus.UNDEAD" : "normal"
|
||||
"bonus.UNDEAD" : "absolute",
|
||||
"bonus.GARGOYLE" : "absolute"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -354,7 +357,8 @@
|
||||
"noneOf" : {
|
||||
"bonus.NON_LIVING" : "absolute",
|
||||
"bonus.SIEGE_WEAPON" : "absolute",
|
||||
"bonus.UNDEAD" : "absolute"
|
||||
"bonus.UNDEAD" : "absolute",
|
||||
"bonus.GARGOYLE" : "absolute"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -442,7 +442,8 @@
|
||||
"noneOf" : {
|
||||
"bonus.NON_LIVING" : "absolute",
|
||||
"bonus.SIEGE_WEAPON" : "absolute",
|
||||
"bonus.UNDEAD" : "absolute"
|
||||
"bonus.UNDEAD" : "absolute",
|
||||
"bonus.GARGOYLE" : "absolute"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -512,7 +513,8 @@
|
||||
"noneOf" : {
|
||||
"bonus.NON_LIVING" : "absolute",
|
||||
"bonus.SIEGE_WEAPON" : "absolute",
|
||||
"bonus.UNDEAD" : "absolute"
|
||||
"bonus.UNDEAD" : "absolute",
|
||||
"bonus.GARGOYLE" : "absolute"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user