1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

Reviewed description of bonuses up to GENERAL_DAMAGE_REDUCTION bonus

This commit is contained in:
Ivan Savenko 2023-09-13 21:55:24 +03:00
parent feb272e102
commit daacf62f0e
2 changed files with 270 additions and 216 deletions

View File

@ -10,80 +10,92 @@ Special bonus that gives no effect
### MORALE
- val = value
Changes morale of affected units
- val: change in morale
### LUCK
- val = value
Changes luck of affected units
- val: change in luck
### MAGIC_SCHOOL_SKILL
eg. for magic plains terrain and for magic school secondary skills
Changes mastery level of spells of affected heroes and units. Examples are magic plains terrain and magic school secondary skills
- subtype: school of magic (0 - all, 1 - air, 2 - fire, 4 - water, 8 -
earth)
- val - level
- subtype: school of magic
- val: level
### DARKNESS
- val = radius
On each turn, hides area in fog of war around affected town for all players other than town owner
- val: radius in tiles
# Hero bonuses
### MOVEMENT
Before 1.2: both water / land After 1.2: subtype 0 - sea, subtype 1 -
land
Increases amount of movement points available to affected hero on new turn
- val = number of movement points (100 points for a tile)
- subtype: 0 - sea, subtype 1 - land
- val: number of movement points (100 points for a tile)
### WATER_WALKING
Allows movement over water for affected heroes
- subtype: 1 - without penalty, 2 - with penalty
### FLYING_MOVEMENT
Allows flying movement for affected heroes
- subtype: 1 - without penalty, 2 - with penalty
### NO_TERRAIN_PENALTY
Hero does not get movement penalty on certain terrain type (Nomads
ability).
Eliminates terrain penalty on certain terrain types for affected heroes (Nomads ability).
- subtype - type of terrain
- subtype: type of terrain
### PRIMARY_SKILL
- uses subtype to pick skill
- additional info if set: 1 - only melee, 2 - only distance
Changes selected primary skill for affected heroes and units
- subtype: primary skill
- additional info: 1 - only for melee attacks, 2 - only for ranged attacks
### SIGHT_RADIUS
Sight radius of a hero. Used for base radius + Scouting secondary skill
Reveal area of fog of war around affected heroes when hero is recruited or moves
- val = distance in tiles
- val: radius in tiles
### MANA_REGENERATION
Before 1.2: points per turn apart from normal (1 + mysticism) After 1.2:
points per turn (used for artifacts, global 1 point/turn regeneration
and mysticism secondary skill)
Restores specific amount of mana points for affected heroes on new turn
- val: amount of spell points to restore
### FULL_MANA_REGENERATION
all mana points are replenished every day
Restores entire mana pool for affected heroes on new turn
### NONEVIL_ALIGNMENT_MIX
good and neutral creatures can be mixed without morale penalty
Allows mixing of creaturs of neutral and good factions in affected armies without penalty to morale
### SURRENDER_DISCOUNT
%
Changes surrender cost for affected heroes
- val: decrease in cost, in precentage
### IMPROVED_NECROMANCY
Determine units which is raised by necromancy skill.
TODO: Determine units which is raised by necromancy skill.
- subtype: creature raised
- val: Necromancer power
@ -98,209 +110,226 @@ Determine units which is raised by necromancy skill.
### LEARN_BATTLE_SPELL_CHANCE
- subtype: 0 - from enemy hero, 1 - from entire battlefield (not
implemented now).
- val: chance to learn spell after battle victory
Determines chance for affected heroes to learn spell casted by enemy hero after battle
Note: used for Eagle Eye skill
- val: chance to learn spell, percentage
### LEARN_BATTLE_SPELL_LEVEL_LIMIT
- subtype: school (-1 for all), others TODO
- val: maximum learning level
Allows affected heroes to learn spell casted by enemy hero after battle
Note: used for Eagle Eye skill
- subtype: must be set to -1
- val: maximal level of spell that can be learned
### LEARN_MEETING_SPELL_LIMIT
- subtype: school (-1 for all), others TODO
- val: maximum learning level for learning a spell during hero
exchange
Allows affected heroes to learn spells from each other during hero exchange
Note: used for Scholar skill
- subtype: must be set to -1
- val: maximal level of spell that can be learned
### ROUGH_TERRAIN_DISCOUNT
- val: Non-road terrain discount in movement points
Reduces movement points penalty when moving on terrains with movement cost over 100 points. Can not reduce movement cost below 100 points
Note: used for Pathfinding skill
- val: penalty reduction, in movement points per tile.
### WANDERING_CREATURES_JOIN_BONUS
- val: value than used as level of diplomacy inside joining
probability calculating
Increases probability for wandering monsters to join army of affected heroes
- val: change in disposition factor when calculating join chance
### BEFORE_BATTLE_REPOSITION
- val: number of hexes - 1 than should be used as repositionable hexes before battle (like H3 tactics skill)
Allows affected heroes to position army before start of battle (Tactics)
Note that Tactics phase for both sides simultaneously is not supported
- val: distance within which hero can reposition his troops
### BEFORE_BATTLE_REPOSITION_BLOCK
- val: value than block opposite tactics, if value of opposite tactics is less than this value of your hero.
Reduces distance in which enemy hero can reposition. Counters BEFORE_BATTLE_REPOSITION bonus
- val: distance within which hero can reposition his troops
### HERO_EXPERIENCE_GAIN_PERCENT
- val: how many experience hero gains from any source. There is a
global effect which set it by 100 (global value) and it is used as
learning skill
Increases experience gain from all sources by affected heroes
- val: additional experience bonus, percentage
### UNDEAD_RAISE_PERCENTAGE
- val: Percentage of killed enemy creatures to be raised after battle
as undead.
Defines percentage of enemy troops that will be raised after battle into own army (Necromancy). Raised unit is determined by IMPROVED_NECROMANCY bonus
Note: used for Necromancy secondary skill, Necromancy artifacts and town
buildings.
- val: percentage of raised troops
### MANA_PER_KNOWLEDGE
- val: Percentage rate of translating 10 hero knowledge to mana, used
for intelligence and global bonus
Defines amount of mana points that hero gains per each point of knowledge (Intelligence)
- val: Amount of mana points per knowledge
### HERO_GRANTS_ATTACKS
- subtype: creature to have additional attacks
- val: Number of attacks
Gives additional attacks to specific creatures in affected army (Artillery)
Note: used for Artillery secondary skill
### BONUS_DAMAGE_PERCENTAGE
- subtype: creature to have additional damage percentage
- val: percentage to be granted
Note: used for Artillery secondary skill
- subtype: creature to give additional attacks
- val: number of attacks
### BONUS_DAMAGE_CHANCE
- subtype: creature to have additional damage chance (will have
BONUS_DAMAGE_PERCENTAGE applied before attack concluded)
- val: chance in percent
Gives specific creature in affected army chance to deal additional damage (Artillery)
- subtype: creature to give additional damage chance
- val: chance to deal additional damage, percentage
### BONUS_DAMAGE_PERCENTAGE
Defines additional damage dealt for creatures affected by BONUS_DAMAGE_CHANCE bonus (Artillery)
- subtype: creature to give additional damage percentage
- val: bonus damage, percentage
### MAX_LEARNABLE_SPELL_LEVEL
- val: maximum level of spells than hero can learn from any source.
This bonus have priority above any other LEARN\_\*SPELL_LEVEL
bonuses.
Defines maximum level of spells than hero can learn from any source (Wisdom)
Note: used as global effect and as wisdom secondary skill.
- val: maximal level to learn
## Hero specialties
### SPECIAL_SPELL_LEV
- subtype = id
- additionalInfo = value per level in percent
Gives additional bonus to effect of specific spell based on level of creature it is casted on
- subtype: identifier of affected spell
- val: bonus to spell effect, percentage, divided by target creature level
### SPELL_DAMAGE
- val = value in percent
- subtype - spell school
Gives additional bonus to effect of all spells of selected school
- subtype: affected spell school
- val: spell effect bonus, percentage
### SPECIFIC_SPELL_DAMAGE
- subtype = id of spell
- val = value in percent (Luna, Ciele)
Gives additional bonus to effect of specific spell
- subtype: identifier of affected spell
- val: bonus to spell effect, percentage
### SPECIAL_PECULIAR_ENCHANT
blesses and curses with id = val dependent on unit's level
TODO: blesses and curses with id = val dependent on unit's level
- subtype = 0 or 1 for Coronius
- subtype: 0 or 1 for Coronius
### SPECIAL_UPGRADE
- subtype = base creature ID
- addInfo = target creature ID
Allows creature upgrade for affected armies
- subtype: identifier of creature that can being upgraded
- addInfo: identifier of creature to which perform an upgrade
# Artifact bonuses
### SPELL_DURATION
Changes duration of timed spells casted by affected hero
- val: additional duration, turns
### SPELL
Hero knows spell, even if this spell is banned in map options or set to "special".
Allows affected heroes to cast specified spell, even if this spell is banned in map options or set to "special".
- subtype - spell id
- val - skill level (0 - 3)
- subtype: spell identifier
- val: skill level mastery (0 - 3)
### SPELLS_OF_LEVEL
hero knows all spells of given level
Allows affected heroes to cast any spell of specified level. Does not grant spells banned in map options.
- subtype - level
- val - skill level
Does not grant spells banned in map options.
- subtype: spell level
### SPELLS_OF_SCHOOL
- subtype = spell school
Allows affected heroes to cast any spell of specified school. Does not grant spells banned in map options.
All spells of this school are granted to hero, eg. by Tomes of Magic. Does not grant spells banned in map options.
- subtype: spell school
### GENERATE_RESOURCE
- subtype - resource
- val - daily income
Affected heroes will add specified resources amounts to player treasure on new day
- subtype: resource identifier
- val: additional daily income
### CREATURE_GROWTH
for legion artifacts
Increases weekly growth of creatures in affected towns (Legion artifacts)
- value - weekly growth bonus,
- subtype - monster level if aplicable
- value: number of additional weekly creatures
- subtype: level of affected dwellings
### CREATURE_GROWTH_PERCENT
increases growth of all units in all towns,
Increases weekly growth of creatures in affected towns
- val - percentage
- val: additional growth, percentage
### BATTLE_NO_FLEEING
for Shackles of War
Heroes affected by this bonus can not retreat or surrender in battle
### NEGATE_ALL_NATURAL_IMMUNITIES
- subtype: TODO
Orb of Vulnerability
### OPENING_BATTLE_SPELL
casts a spell at expert level at beginning of battle
In battle, army affected by this bonus will cast spell at the very start of the battle
- subtype - Spell ID
- val - spell power
- subtype: spell identifer
- val: spell mastery level
### FREE_SHIP_BOARDING
movement points preserved with ship boarding and landing
Heroes affected by this bonus will keep all their movement points when embarking or disembarking ship
### WHIRLPOOL_PROTECTION
hero won't lose army when teleporting through whirlpool
Heroes affected by this bonus won't lose army when moving through whirlpool
# Creature bonuses
### STACK_HEALTH
Increases maximum hit point of affected units
- val: additional hit points to gain
### STACKS_SPEED
- additional info - percent of speed bonus applied after direct
bonuses; \>0 - added, \<0 - subtracted to this part
Increases movement speed of units in battle
- val: additional movement speed points
### CREATURE_DAMAGE
- subtype: 0 = both, 1 = min, 2 = max
Increases base damage of creature in battle
- subtype: 0 = both min and max, 1 = min, 2 = max
- val: additional damage points
### SHOTS
### EXP_MULTIPLIER
Increases starting amount of shots that unit has in battle
- val - percent of additional exp gained by stack / commander (base
value 100)
- val: additional shots
# Creature abilities
@ -308,91 +337,115 @@ hero won't lose army when teleporting through whirlpool
### NON_LIVING
eg. golems, elementals
Affected unit is considered to not be alive and not affected by morale and certain spells
### GARGOYLE
Gargoyle is special than NON_LIVING, cannot be rised or healed
Affected unit is considered to be a gargoyle and not affected by certain spells
### UNDEAD
Affected unit is considered to be undead
### SIEGE_WEAPON
War machines have it. They cannot be raised or healed, have no morale
and don't move.
Affected unit is considered to be a siege machine and can not be raised, healed, have morale or move.
### DRAGON_NATURE
Affected unit is dragon. This bonus proved no effect, but is used as limiter several effects.
### KING
Creatures take more damage from Slayer effect than have greater or equal
value than KING bonus.
Affected unit will take more damage from units under Slayer spell effect
- val: required skill mastery of Slayer spell to affect this unit
### FEARLESS
Affected unit is immune to Fear ability
### NO_LUCK
eg. when fighting on cursed ground
Affected units can not receive good or bad luck
### NO_MORALE
eg. when fighting on cursed ground
Affected units can not receive good or bad morale
## Combat abilities
### FLYING
- subtype - 0 - regular, 1 - teleport
Affected unit can fly on the battlefield
- subtype: 0 - flying unit, 1 - teleporting unit
### SHOOTER
Affected unit can shoot
### CHARGE_IMMUNITY
Affected unit is immune to JOUSTING ability
### ADDITIONAL_ATTACK
Affected unit can perform additional attacks. Attacked unit will retaliate after each attack if can
- val: number of additional attacks to perform
### UNLIMITED_RETALIATIONS
Affected unit will always retaliate if able
### ADDITIONAL_RETALIATION
- value - number of additional retaliations
Affected unit can retaliate multiple times per turn
- value: number of additional retaliations
### JOUSTING
for champions
Affected unit will deal more damage based on movement distance (Champions)
- val: percentage of charge
- val: additional damage per passed tile, percentage
### HATE
eg. angels hate devils,
Affected unit will deal more damage when attacking specific creature
- subtype - ID of hated creature,
- val - damage bonus percent
- subtype - identifier of hated creature,
- val - additional damage, percentage
### SPELL_LIKE_ATTACK
range is taken from spell, but damage from creature; eg. magog, lich
Affected unit ranged attack will use animation and range of specified spell (Magog, Lich)
- subtype - spell,
- value - spell level
- subtype - spell identifier
- value - spell mastery level
### THREE_HEADED_ATTACK
eg. cerberus
Affected unit attacks creatures located on tiles to left and right of targeted tile (Cerberus). Only directly targeted creature will attempt to retaliate
### ATTACKS_ALL_ADJACENT
eg. hydra
Affected unit attacks all adjacent creatures (Hydra). Only directly targeted creature will attempt to retaliate
### TWO_HEX_ATTACK_BREATH
eg. dragons
Affected unit attacks creature located directly behind targeted tile (Dragons). Only directly targeted creature will attempt to retaliate
### RETURN_AFTER_STRIKE
Affected unit can return to his starting location after attack (Harpies)
### ENEMY_DEFENCE_REDUCTION
in % (value) eg. behemots
Affected unit will ignore specified percentage of attacked unit defence (Behemoth)
- val: amount of defence points to ignore, percentage
### GENERAL_DAMAGE_REDUCTION

View File

@ -141,7 +141,8 @@ Rewardable object is defined similarly to other objects, with key difference bei
//determines way to select granted rewards if multiple options are available
// "selectFirst", - first reward which passes "limiter" will be granted to player
// "selectPlayer", - player will be allowed to choose between rewards (e.g. treasure chest)
"selectMode" : "selectFirst", "selectPlayer"
// "selectRandom", - granted reward will be picked randomly when hero visits object
"selectMode" : "selectFirst"
}
```