1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-19 21:10:12 +02:00

Levels for WoG neutral creatures - fixes #1282.

Renamed Myriad and Medusa Queen (sic?) to Arctic & Lava Sharpshooter.
This commit is contained in:
DjWarmonger 2013-07-12 19:13:39 +00:00
parent 91cd88ba97
commit 886ef13bec
2 changed files with 15 additions and 15 deletions

View File

@ -210,7 +210,7 @@
"ghost" : "ghost" :
{ {
"index": 159, "index": 159,
"level": 0, "level": 3,
"faction": "neutral", "faction": "neutral",
"graphics" : "graphics" :
{ {
@ -344,7 +344,7 @@
"gorynych" : "gorynych" :
{ {
"index": 168, "index": 168,
"level": 0, "level": 7,
"faction": "neutral", "faction": "neutral",
"abilities": "abilities":
{ {
@ -369,7 +369,7 @@
"warZealot" : "warZealot" :
{ {
"index": 169, "index": 169,
"level": 0, "level": 6,
"faction": "neutral", "faction": "neutral",
"graphics" : "graphics" :
{ {
@ -389,10 +389,10 @@
"wince": "ZELTWNCE.wav" "wince": "ZELTWNCE.wav"
} }
}, },
"myriad" : "arcticSharpshooter" :
{ {
"index": 170, "index": 170,
"level": 0, "level": 5,
"faction": "neutral", "faction": "neutral",
"graphics" : "graphics" :
{ {
@ -412,10 +412,10 @@
"wince": "HCRSWNCE.wav" "wince": "HCRSWNCE.wav"
} }
}, },
"medusaMatriarch" : "lavaSharpshooter" :
{ {
"index": 171, "index": 171,
"level": 0, "level": 5,
"faction": "neutral", "faction": "neutral",
"graphics" : "graphics" :
{ {
@ -438,7 +438,7 @@
"nightmare" : "nightmare" :
{ {
"index": 172, "index": 172,
"level": 0, "level": 6,
"faction": "neutral", "faction": "neutral",
"graphics" : "graphics" :
{ {
@ -456,7 +456,7 @@
"santaGremlin" : "santaGremlin" :
{ {
"index": 173, "index": 173,
"level": 0, "level": 2,
"faction": "neutral", "faction": "neutral",
"graphics" : "graphics" :
{ {
@ -1092,7 +1092,7 @@
"sylvanCentaur" : "sylvanCentaur" :
{ {
"index": 192, "index": 192,
"level": 0, "level": 3,
"faction": "neutral", "faction": "neutral",
"graphics" : "graphics" :
{ {
@ -1112,10 +1112,10 @@
"wince": "ECNTWNCE.wav" "wince": "ECNTWNCE.wav"
} }
}, },
"sorceress" : "sorceresses" :
{ {
"index": 193, "index": 193,
"level": 0, "level": 6,
"faction": "neutral", "faction": "neutral",
"graphics" : "graphics" :
{ {
@ -1138,7 +1138,7 @@
"werewolf" : "werewolf" :
{ {
"index": 194, "index": 194,
"level": 0, "level": 4,
"faction": "neutral", "faction": "neutral",
"graphics" : "graphics" :
{ {
@ -1148,7 +1148,7 @@
"hellSteed" : "hellSteed" :
{ {
"index": 195, "index": 195,
"level": 0, "level": 6,
"faction": "neutral", "faction": "neutral",
"graphics" : "graphics" :
{ {

View File

@ -226,7 +226,7 @@ void BonusList::getBonuses(BonusList & out, const CSelector &selector, const CSe
Bonus *b = elem; Bonus *b = elem;
//add matching bonuses that matches limit predicate or have NO_LIMIT if no given predicate //add matching bonuses that matches limit predicate or have NO_LIMIT if no given predicate
if(selector(b) && ((!limit && b->effectRange == Bonus::NO_LIMIT) || (limit && limit(b)))) if(selector(b) && ((!limit && b->effectRange == Bonus::NO_LIMIT) || ((bool)limit && limit(b))))
out.push_back(b); out.push_back(b);
} }
} }