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

fixed various specialty bugs retained during conversion

This commit is contained in:
Henning Koehler 2017-09-17 15:28:15 +12:00
parent 2b8f111a81
commit 73f782aa39
6 changed files with 11 additions and 12 deletions

View File

@ -125,7 +125,7 @@
"subtype" : "skill.navigation",
"type" : "SECONDARY_SKILL_PREMY",
"updater" : {
"parameters" : [ 40 ],
"parameters" : [ 100 ],
"type" : "GROWS_WITH_LEVEL"
},
"valueType" : "PERCENT_TO_BASE"

View File

@ -93,8 +93,8 @@
"type" : "PRIMARY_SKILL",
"val" : 1
},
"attack2" : {
"subtype" : "primSkill.attack",
"defence" : {
"subtype" : "primSkill.defence",
"type" : "PRIMARY_SKILL",
"val" : 2
}

View File

@ -400,7 +400,7 @@
"subtype" : "skill.navigation",
"type" : "SECONDARY_SKILL_PREMY",
"updater" : {
"parameters" : [ 40 ],
"parameters" : [ 100 ],
"type" : "GROWS_WITH_LEVEL"
},
"valueType" : "PERCENT_TO_BASE"

View File

@ -413,10 +413,10 @@
],
"specialty" : {
"bonuses" : {
"summonBoat" : {
"subtype" : "spell.summonBoat",
"animateDead" : {
"subtype" : "spell.animateDead",
"type" : "SPECIAL_SPELL_LEV",
"val" : 39
"val" : 3
}
}
}

View File

@ -295,13 +295,12 @@
"type" : "HAS_ANOTHER_BONUS_LIMITER"
}
],
"subtype" : "primSkill.attack",
"type" : "PRIMARY_SKILL",
"val" : 1
"val" : 5
},
"bonuses" : {
"attack" : { },
"attack2" : { }
"attack" : { "subtype" : "primSkill.attack" },
"defence" : { "subtype" : "primSkill.defence" }
}
},
"army" :

View File

@ -208,7 +208,7 @@ private:
BONUS_NAME(NO_MORALE) /*eg. when fighting on cursed ground*/ \
BONUS_NAME(DARKNESS) /*val = radius */ \
BONUS_NAME(SPECIAL_SECONDARY_SKILL) /*subtype = id, val = value per level in percent*/ \
BONUS_NAME(SPECIAL_SPELL_LEV) /*val = id, additionalInfo = value per level in percent*/\
BONUS_NAME(SPECIAL_SPELL_LEV) /*subtype = id, val = value per level in percent*/\
BONUS_NAME(SPELL_DAMAGE) /*val = value*/\
BONUS_NAME(SPECIFIC_SPELL_DAMAGE) /*subtype = id of spell, val = value*/\
BONUS_NAME(SPECIAL_BLESS_DAMAGE) /*val = spell (bless), additionalInfo = value per level in percent*/\