mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-28 08:48:48 +02:00
38efbb345e
- stoneskin/haste/prayer/weakness: didnt work because there were 2 bonus objects in buffer and they were filtered out as a possible duplicate (BattleInfo::addOrUpdateUnitBonus). it was fixed by making them a single bonus. - disrupting-ray and weakness: had opposite effect, because of missing negation - added a new specialty types: SPECIAL_ADD_VALUE_ENCHANT and SPECIAL_FIXED_VALUE_ENCHANT. this is to make possible specialties like Aenin (fixed specialty value added to spell value) and Melody (fixed value for spell regardless of anything). These specialties can be used in mods with any heroes. - slayer spell effect calculations was fixed to include hero Coronius-style specialty. - finally fixed description for Labetha Conflux hero, this is a OH3 bug described here https://heroes.thelazy.net/index.php/Labetha Changes were tested and work as intended. commit was made in cooperation with modder Misiokles
313 lines
5.5 KiB
JSON
313 lines
5.5 KiB
JSON
{
|
|
"mephala":
|
|
{
|
|
"index": 16,
|
|
"class" : "ranger",
|
|
"female": true,
|
|
"skills":
|
|
[
|
|
{ "skill" : "leadership", "level": "basic" },
|
|
{ "skill" : "armorer", "level": "basic" }
|
|
],
|
|
"specialty" : {
|
|
"bonuses" : {
|
|
"armorer" : {
|
|
"subtype" : "skill.armorer",
|
|
"type" : "SECONDARY_SKILL_PREMY",
|
|
"updater" : "TIMES_HERO_LEVEL",
|
|
"val" : 5,
|
|
"valueType" : "PERCENT_TO_BASE"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ufretin":
|
|
{
|
|
"index": 17,
|
|
"class" : "ranger",
|
|
"female": false,
|
|
"skills":
|
|
[
|
|
{ "skill" : "luck", "level": "basic" },
|
|
{ "skill" : "resistance", "level": "basic" }
|
|
],
|
|
"specialty" : {
|
|
"creature" : "dwarf"
|
|
}
|
|
},
|
|
"jenova":
|
|
{
|
|
"index": 18,
|
|
"class" : "ranger",
|
|
"female": true,
|
|
"skills":
|
|
[
|
|
{ "skill" : "archery", "level": "advanced" }
|
|
],
|
|
"specialty" : {
|
|
"bonuses" : {
|
|
"gold" : {
|
|
"subtype" : "resource.gold",
|
|
"type" : "GENERATE_RESOURCE",
|
|
"val" : 350
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ryland":
|
|
{
|
|
"index": 19,
|
|
"class" : "ranger",
|
|
"female": false,
|
|
"skills":
|
|
[
|
|
{ "skill" : "diplomacy", "level": "basic" },
|
|
{ "skill" : "leadership", "level": "basic" }
|
|
],
|
|
"specialty" : {
|
|
"creature" : "dendroidGuard"
|
|
}
|
|
},
|
|
"thorgrim":
|
|
{
|
|
"index": 20,
|
|
"class" : "ranger",
|
|
"female": false,
|
|
"skills":
|
|
[
|
|
{ "skill" : "resistance", "level": "advanced" }
|
|
],
|
|
"specialty" : {
|
|
"bonuses" : {
|
|
"resistance" : {
|
|
"subtype" : "skill.resistance",
|
|
"type" : "SECONDARY_SKILL_PREMY",
|
|
"updater" : "TIMES_HERO_LEVEL",
|
|
"val" : 5,
|
|
"valueType" : "PERCENT_TO_BASE"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ivor":
|
|
{
|
|
"index": 21,
|
|
"class" : "ranger",
|
|
"female": false,
|
|
"skills":
|
|
[
|
|
{ "skill" : "archery", "level": "basic" },
|
|
{ "skill" : "offence", "level": "basic" }
|
|
],
|
|
"specialty" : {
|
|
"creature" : "woodElf"
|
|
}
|
|
},
|
|
"clancy":
|
|
{
|
|
"index": 22,
|
|
"class" : "ranger",
|
|
"female": false,
|
|
"skills":
|
|
[
|
|
{ "skill" : "pathfinding", "level": "basic" },
|
|
{ "skill" : "resistance", "level": "basic" }
|
|
],
|
|
"specialty" : {
|
|
"creature" : "unicorn"
|
|
}
|
|
},
|
|
"kyrre":
|
|
{
|
|
"index": 23,
|
|
"class" : "ranger",
|
|
"female": true,
|
|
"skills":
|
|
[
|
|
{ "skill" : "archery", "level": "basic" },
|
|
{ "skill" : "logistics", "level": "basic" }
|
|
],
|
|
"specialty" : {
|
|
"bonuses" : {
|
|
"logistics" : {
|
|
"subtype" : "skill.logistics",
|
|
"type" : "SECONDARY_SKILL_PREMY",
|
|
"updater" : "TIMES_HERO_LEVEL",
|
|
"val" : 5,
|
|
"valueType" : "PERCENT_TO_BASE"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"coronius":
|
|
{
|
|
"index": 24,
|
|
"class" : "druid",
|
|
"spellbook": [ "slayer" ],
|
|
"female": false,
|
|
"skills":
|
|
[
|
|
{ "skill" : "wisdom", "level": "basic" },
|
|
{ "skill" : "scholar", "level": "basic" }
|
|
],
|
|
"specialty" : {
|
|
"bonuses" : {
|
|
"slayer" : {
|
|
"addInfo" : 1,
|
|
"subtype" : "spell.slayer",
|
|
"type" : "SPECIAL_PECULIAR_ENCHANT"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"uland":
|
|
{
|
|
"index": 25,
|
|
"class" : "druid",
|
|
"female": false,
|
|
"spellbook": [ "cure" ],
|
|
"skills":
|
|
[
|
|
{ "skill" : "wisdom", "level": "advanced" },
|
|
{ "skill" : "ballistics", "level": "basic" }
|
|
],
|
|
"specialty" : {
|
|
"bonuses" : {
|
|
"cure" : {
|
|
"subtype" : "spell.cure",
|
|
"type" : "SPECIAL_SPELL_LEV",
|
|
"updater" : "TIMES_HERO_LEVEL",
|
|
"val" : 3
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"elleshar":
|
|
{
|
|
"index": 26,
|
|
"class" : "druid",
|
|
"female": false,
|
|
"spellbook": [ "curse" ],
|
|
"skills":
|
|
[
|
|
{ "skill" : "wisdom", "level": "basic" },
|
|
{ "skill" : "intelligence", "level": "basic" }
|
|
],
|
|
"specialty" : {
|
|
"bonuses" : {
|
|
"intelligence" : {
|
|
"subtype" : "skill.intelligence",
|
|
"type" : "SECONDARY_SKILL_PREMY",
|
|
"updater" : "TIMES_HERO_LEVEL",
|
|
"val" : 5,
|
|
"valueType" : "PERCENT_TO_BASE"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"gem":
|
|
{
|
|
"index": 27,
|
|
"class" : "druid",
|
|
"female": true,
|
|
"spellbook": [ "summonBoat" ],
|
|
"skills":
|
|
[
|
|
{ "skill" : "wisdom", "level": "basic" },
|
|
{ "skill" : "firstAid", "level": "basic" }
|
|
],
|
|
"specialty" : {
|
|
"bonuses" : {
|
|
"firstAid" : {
|
|
"subtype" : "skill.firstAid",
|
|
"type" : "SECONDARY_SKILL_PREMY",
|
|
"updater" : "TIMES_HERO_LEVEL",
|
|
"val" : 5,
|
|
"valueType" : "PERCENT_TO_BASE"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"malcom":
|
|
{
|
|
"index": 28,
|
|
"class" : "druid",
|
|
"female": false,
|
|
"spellbook": [ "magicArrow" ],
|
|
"skills":
|
|
[
|
|
{ "skill" : "wisdom", "level": "basic" },
|
|
{ "skill" : "eagleEye", "level": "basic" }
|
|
],
|
|
"specialty" : {
|
|
"bonuses" : {
|
|
"eagleEye" : {
|
|
"subtype" : "skill.eagleEye",
|
|
"type" : "SECONDARY_SKILL_PREMY",
|
|
"updater" : "TIMES_HERO_LEVEL",
|
|
"val" : 5,
|
|
"valueType" : "PERCENT_TO_BASE"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"melodia":
|
|
{
|
|
"index": 29,
|
|
"class" : "druid",
|
|
"spellbook": [ "fortune" ],
|
|
"female": true,
|
|
"skills":
|
|
[
|
|
{ "skill" : "wisdom", "level": "basic" },
|
|
{ "skill" : "luck", "level": "basic" }
|
|
],
|
|
"specialty" : {
|
|
"bonuses" : {
|
|
"fortune" : {
|
|
"addInfo" : 3,
|
|
"subtype" : "spell.fortune",
|
|
"type" : "SPECIAL_FIXED_VALUE_ENCHANT"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"alagar":
|
|
{
|
|
"index": 30,
|
|
"class" : "druid",
|
|
"female": false,
|
|
"spellbook": [ "iceBolt" ],
|
|
"skills":
|
|
[
|
|
{ "skill" : "wisdom", "level": "basic" },
|
|
{ "skill" : "sorcery", "level": "basic" }
|
|
],
|
|
"specialty" : {
|
|
"bonuses" : {
|
|
"iceBolt" : {
|
|
"subtype" : "spell.iceBolt",
|
|
"type" : "SPECIAL_SPELL_LEV",
|
|
"updater" : "TIMES_HERO_LEVEL",
|
|
"val" : 3
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"aeris":
|
|
{
|
|
"index": 31,
|
|
"class" : "druid",
|
|
"female": false,
|
|
"spellbook": [ "protectAir" ],
|
|
"skills":
|
|
[
|
|
{ "skill" : "wisdom", "level": "basic" },
|
|
{ "skill" : "scouting", "level": "basic" }
|
|
],
|
|
"specialty" : {
|
|
"creature" : "pegasus"
|
|
}
|
|
}
|
|
}
|