1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038
|
# Bonus Types
The bonuses were grouped according to their original purpose. The bonus system allows them to propagate freely between the nodes, however they may not be recognized properly beyond the scope of original use.
## General-purpose bonuses
### NONE
Bonus placeholder that gives no effect
### MORALE
Changes morale of affected units
- val: change in morale, eg. 1, -2
### LUCK
Changes luck of affected units
- val: change in luck
### MAGIC_SCHOOL_SKILL
Changes mastery level of spells of affected heroes and units. Examples are magic plains terrain and magic school secondary skills
- subtype: school of magic
- val: level
### DARKNESS
On each turn, hides area in fog of war around affected town for all players other than town owner. Currently does not work for any entities other than towns.
- val: radius in tiles
## Player bonuses
Intended to be setup as global effect, AI cheat etc.
### RESOURCES_CONSTANT_BOOST
Bonus that does not account for propagation and gives specific amount of extra resources per day
- subtype: resource identifier
- val: - resource amount
### RESOURCES_TOWN_MULTIPLYING_BOOST
Bonus that does not account for propagation and gives extra resources per day with amount multiplied by number of owned towns
- subtype: resource identifier
- val: - base resource amount to be multiplied times number of owned towns
## Hero bonuses
### MOVEMENT
Increases amount of movement points available to affected hero on new turn
- subtype:
- heroMovementLand: only land movement will be affected
- heroMovementSea: only sea movement will be affected
- val: number of movement points (100 points for a tile)
### WATER_WALKING
Allows movement over water for affected heroes
- val: Penalty to movement, in percent (Basic Water Walk - 40, Advanced Water Walk - 20)
### FLYING_MOVEMENT
Allows flying movement for affected heroes
- val: Penalty to movement, in percent
### NO_TERRAIN_PENALTY
Eliminates terrain penalty on certain terrain types for affected heroes (Nomads ability).
Note: to eliminate all terrain penalties see ROUGH_TERRAIN_DISCOUNT bonus
- subtype: type of terrain, eg `terrain.sand`
### TERRAIN_NATIVE
Affected units will view any terrain as native. This means army containing these creature will have no movement penalty, and will be able to see Mines and Quick Sand in battle.
### PRIMARY_SKILL
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
Reveal area of fog of war around affected heroes when hero is recruited or moves
- val: radius in tiles
### MANA_REGENERATION
Restores specific amount of mana points for affected heroes on new turn
- val: amount of spell points to restore
### FULL_MANA_REGENERATION
Restores entire mana pool for affected heroes on new turn
### NONEVIL_ALIGNMENT_MIX
Allows mixing of creaturs of neutral and good factions in affected armies without penalty to morale (Angelic Alliance effect)
### SURRENDER_DISCOUNT
Changes surrender cost for affected heroes
- val: decrease in cost, in percentage
### IMPROVED_NECROMANCY
Allows to raise different creatures than Skeletons after battle.
- subtype: creature raised
- val: Necromancer power
- addInfo: Level of Necromancy secondary skill (1 - Basic, 3 - Expert)
- Example (from Cloak Of The Undead King):
```json
{
"type" : "IMPROVED_NECROMANCY",
"subtype" : "creature.walkingDead",
"addInfo" : 1
}
```
### LEARN_BATTLE_SPELL_CHANCE
Determines chance for affected heroes to learn spell cast by enemy hero after battle
- val: chance to learn spell, percentage
### LEARN_BATTLE_SPELL_LEVEL_LIMIT
Allows affected heroes to learn spell cast by enemy hero after battle
- val: maximal level of spell that can be learned
### LEARN_MEETING_SPELL_LIMIT
Allows affected heroes to learn spells from each other during hero exchange
- val: maximal level of spell that can be learned
### ROUGH_TERRAIN_DISCOUNT
Reduces movement points penalty when moving on terrains with movement cost over 100 points. Can not reduce movement cost below 100 points
- val: penalty reduction, in movement points per tile.
### WANDERING_CREATURES_JOIN_BONUS
Increases probability for wandering monsters to join army of affected heroes
- val: change in disposition factor when calculating join chance
### BEFORE_BATTLE_REPOSITION
Allows affected heroes to position army before start of battle (Tactics)
- val: distance within which hero can reposition his troops
### BEFORE_BATTLE_REPOSITION_BLOCK
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
Increases experience gain from all sources by affected heroes
- val: additional experience bonus, percentage
### UNDEAD_RAISE_PERCENTAGE
Defines percentage of enemy troops that will be raised after battle into own army (Necromancy). Raised unit is determined by IMPROVED_NECROMANCY bonus
- val: percentage of raised troops
### MANA_PER_KNOWLEDGE_PERCENTAGE
Defines percentage of mana points that hero gains per each point of knowledge (Intelligence)
- val: percentage of mana points per knowledge
### HERO_GRANTS_ATTACKS
Gives additional attacks to specific creatures in affected army (Artillery)
- subtype: creature to give additional attacks
- val: number of attacks
### BONUS_DAMAGE_CHANCE
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
Defines maximum level of spells than hero can learn from any source (Wisdom)
- val: maximal level to learn
## Hero specialties
### SPECIAL_SPELL_LEV
Gives additional bonus to effect of specific spell based on level of creature it is cast on
- subtype: identifier of affected spell
- val: bonus to spell effect, percentage, divided by target creature level
### SPELL_DAMAGE
Gives additional bonus to effect of all spells of selected school
- subtype: affected spell school
- val: spell effect bonus, percentage
### SPECIFIC_SPELL_DAMAGE
Gives additional bonus to effect of specific spell
- subtype: identifier of affected spell
- val: bonus to spell effect, percentage
### SPECIAL_PECULIAR_ENCHANT
Gives creature under effect of this spell additional bonus, which is hardcoded and depends on the creature tier.
- subtype: affected spell identifier, ie. `spell.haste`
### SPECIAL_ADD_VALUE_ENCHANT
Modifies 'val' parameter of spell effects that give bonuses by specified value. For example, Aenain makes Disrupting Ray decrease target's defense by additional 2 points:
```json
"disruptingRay" : {
"addInfo" : -2,
"subtype" : "spell.disruptingRay",
"type" : "SPECIAL_ADD_VALUE_ENCHANT"
}
```
- subtype: affected spell identifier
- addInfo: value to modify 'val' parameter of targeted spell effects by
### SPECIAL_FIXED_VALUE_ENCHANT
Changes 'val' parameter of spell effects that give bonuses to a specified value. For example, Fortune cast by Melody always modifies luck by +3:
```json
"fortune" : {
"addInfo" : 3,
"subtype" : "spell.fortune",
"type" : "SPECIAL_FIXED_VALUE_ENCHANT"
}
```
- subtype: affected spell identifier
- addInfo: value to set 'val' parameter of targeted spell effects to
### SPECIAL_UPGRADE
Allows creature being upgraded to another creature (Gelu, Dracon)
- 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 cast by affected hero
- val: additional duration, turns
- subtype: optional, identifier of affected spells, or all if not set
### SPELL
Allows affected heroes to cast specified spell, even if this spell is banned in map options or set to "special".
- subtype: spell identifier
- val: skill level mastery (0 - 3)
### SPELLS_OF_LEVEL
Allows affected heroes to cast any spell of specified level. Does not grant spells banned in map options.
- subtype: spell level, in form "spellLevelX" where X is desired level (1-5)
### SPELLS_OF_SCHOOL
Allows affected heroes to cast any spell of specified school. Does not grant spells banned in map options.
- subtype: spell school
### GENERATE_RESOURCE
Affected heroes will add specified resources amounts to player treasure on new day
- subtype: resource identifier
- val: additional daily income
### CREATURE_GROWTH
Increases weekly growth of creatures in affected towns (Legion artifacts)
- value: number of additional weekly creatures
- subtype: dwelling level, in form `creatureLevelX` where X is desired level (1-7)
### CREATURE_GROWTH_PERCENT
Increases weekly growth of creatures in affected towns (Statue of Legion)
- val: additional growth, percentage
### BATTLE_NO_FLEEING
Heroes affected by this bonus can not retreat or surrender in battle (Shackles of War effect)
### NEGATE_ALL_NATURAL_IMMUNITIES
Negates all natural immunities for affected stacks. (Orb of Vulnerability)
- subtype:
- immunityBattleWide: Entire battle will be affected by bonus
- immunityEnemyHero: Only enemy hero will be affected by bonus
### OPENING_BATTLE_SPELL
In battle, army affected by this bonus will cast spell at the very start of the battle. Spell is always cast at expert level.
- subtype: spell identifier
- val: duration of the spell, in rounds
### FREE_SHIP_BOARDING
Heroes affected by this bonus will not lose all movement points when embarking or disembarking ship. Movement points are converted depending on max land and water movement range.
### WHIRLPOOL_PROTECTION
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
Increases movement speed of units in battle
- val: additional movement speed points
### CREATURE_DAMAGE
Increases base damage of creature in battle
- subtype:
- creatureDamageMin: increases only minimal damage
- creatureDamageMax: increases only maximal damage
- creatureDamageBoth: increases both minimal and maximal damage
- val: additional damage points
### SHOTS
Increases starting amount of shots that unit has in battle
- val: additional shots
## Creature abilities
## Static abilities and immunities
### NON_LIVING
Affected unit is considered to not be alive and not affected by morale and certain spells
### MECHANICAL
Affected unit is considered to not be alive and not affected by morale and certain spells but should be repairable from engineers (factory).
### GARGOYLE
Affected unit is considered to be a gargoyle and not affected by certain spells
### UNDEAD
Affected unit is considered to be undead, which makes it immune to many effects, and also reduce morale of allied living units.
### SIEGE_WEAPON
Affected unit is considered to be a siege machine and can not be raised, healed, have morale or move. All War Machines should have this bonus.
### DRAGON_NATURE
Affected unit is dragon. This bonus proved no effect, but is used as limiter several effects.
### KING
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
Affected units can not receive good or bad luck
### NO_MORALE
Affected units can not receive good or bad morale
## Combat abilities
### FLYING
Affected unit can fly on the battlefield
- subtype:
- movementFlying: creature will fly (slowly move across battlefield)
- movementTeleporting: creature will instantly teleport to destination, skipping movement animation.
### SHOOTER
Affected unit can shoot
### CHARGE_IMMUNITY
Affected unit is immune to JOUSTING ability of (ie. Champions).
### ADDITIONAL_ATTACK
Affected unit can perform additional attacks. Attacked unit will retaliate after each attack if able.
- val: number of additional attacks to perform
### UNLIMITED_RETALIATIONS
Affected unit will always retaliate if able (Royal Griffin)
### ADDITIONAL_RETALIATION
Affected unit can retaliate multiple times per turn (basic Griffin)
- value: number of additional retaliations
### JOUSTING
Affected unit will deal more damage based on movement distance (Champions)
- val: additional damage per passed tile, percentage
### HATE
Affected unit will deal more damage when attacking specific creature
- subtype - identifier of hated creature, ie. "creature.genie"
- val - additional damage, percentage
### SPELL_LIKE_ATTACK
Affected unit ranged attack will use animation and range of specified spell (Magog, Lich)
- subtype - spell identifier
- value - spell mastery level
### THREE_HEADED_ATTACK
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
Affected unit attacks all adjacent creatures (Hydra). Only directly targeted creature will attempt to retaliate
### TWO_HEX_ATTACK_BREATH
Affected unit attacks creature located directly behind targeted tile (Dragons). Only directly targeted creature will attempt to retaliate
### PRISM_HEX_ATTACK_BREATH
Like `TWO_HEX_ATTACK_BREATH` but affects also two additional cratures (in triangle form from target tile)
### RETURN_AFTER_STRIKE
Affected unit can return to his starting location after attack (Harpies)
### ENEMY_DEFENCE_REDUCTION
Affected unit will ignore specified percentage of attacked unit defense (Behemoth)
- val: amount of defense points to ignore, percentage
### GENERAL_DAMAGE_REDUCTION
Affected units will receive reduced damage from attacks by other units
- val: damage reduction, percentage
- subtype:
- damageTypeMelee: only melee damage will be reduced
- damageTypeRanged: only ranged damage will be reduced
- damageTypeAll: all damage will be reduced
### PERCENTAGE_DAMAGE_BOOST
Affected units will deal increased damage when attacking other units
- val: damage increase, percentage
- subtype:
- damageTypeMelee: only melee damage will increased
- damageTypeRanged: only ranged damage will increased
### GENERAL_ATTACK_REDUCTION
Affected units will deal reduced damage when attacking other units (Blind or Paralyze spells)
- val: damage reduction, percentage
### DEFENSIVE_STANCE
Affected units will receive increased bonus to defense while defending
- val: additional bonus to defense, in skill points
### NO_DISTANCE_PENALTY
Affected unit will have no distance penalty when shooting. Does not negates wall penalties in sieges
### NO_MELEE_PENALTY
Affected ranged unit will deal full damage in melee attacks
### NO_WALL_PENALTY
Affected unit will deal full damage when shooting over walls in sieges. Does not negates distance penalty
### FREE_SHOOTING
Affected unit can use ranged attack even when blocked by enemy unit, like with Bow of the Sharpshooter relic
### BLOCKS_RETALIATION
Affected unit will never receive retaliations when attacking
### SOUL_STEAL
Affected unit will gain new creatures for each enemy killed by this unit
- val: number of units gained per enemy killed
- subtype:
- soulStealPermanent: creature will stay after the battle
- soulStealBattle: creature will be lost after the battle
### TRANSMUTATION
Affected units have chance to transform attacked unit to other creature type
- val: chance for ability to trigger, percentage
- subtype:
- transmutationPerHealth: transformed unit will have same HP pool as original stack,
- transmutationPerUnit: transformed unit will have same number of units as original stack
- addInfo: creature to transform to. If not set, creature will transform to same unit as attacker
### SUMMON_GUARDIANS
When battle starts, affected units will be surrounded from all side with summoned units
- val: amount of units to summon, per stack, percentage of summoner stack size
- subtype: identifier of creature to summon
### RANGED_RETALIATION
Affected units will retaliate against ranged attacks, if able
### BLOCKS_RANGED_RETALIATION
Affected unit will never receive counterattack in ranged attacks. Counters RANGED_RETALIATION bonus
### WIDE_BREATH
Affected unit will attack units on all hexes that surround attacked hex
### FIRST_STRIKE
Affected unit will retaliate before enemy attacks, if able
- subtype:
- damageTypeMelee: only melee attacks affected
- damageTypeRanged: only ranged attacks affected. Note that unit also requires ability to retaliate in ranged, such as RANGED_RETALIATION bonus
- damageTypeAll: any attacks are affected
### SHOOTS_ALL_ADJACENT
Affected unit will attack units on all hexes that surround attacked hex in ranged attacks
### DESTRUCTION
Affected unit will kills additional units after attack
- val: chance to trigger, percentage
- subtype:
- destructionKillPercentage: kill percentage of units,
- destructionKillAmount: kill amount
- addInfo: amount or percentage to kill
### LIMITED_SHOOTING_RANGE
Affected unit can use ranged attacks only within specified range
- val: max shooting range in hexes
- addInfo: optional, range at which ranged penalty will trigger (default is 10)
### FEROCITY
Affected unit will attack additional times if killed creatures in target unit during attacking (including ADDITIONAL_ATTACK bonus attacks)
- val: amount of additional attacks (negative number will reduce number of unperformed attacks if any left)
- addInfo: optional, amount of creatures needed to kill (default is 1)
### ENEMY_ATTACK_REDUCTION
Affected unit will ignore specified percentage of attacked unit attack (Nix)
- val: amount of attack points to ignore, percentage
### REVENGE
Affected unit will deal more damage based on percentage of self health lost compared to amount on start of battle
(formula: `square_root((total_unit_count + 1) * 1_creature_max_health / (current_whole_unit_health + 1_creature_max_health) - 1)`.
Result is then multiplied separately by min and max base damage of unit and result is additive bonus to total damage at end of calculation)
## Special abilities
### CATAPULT
Affected unit can attack walls during siege battles (Cyclops)
- subtype: spell that describes attack parameters
### CATAPULT_EXTRA_SHOTS
Defines spell mastery level for spell used by CATAPULT bonus
- subtype: affected spell
- val: spell mastery level to use
### MANUAL_CONTROL
Hero can control war machine affected by this bonus
- subtype: creature identifier of affected war machine
- val: chance to control unit, percentage
### CHANGES_SPELL_COST_FOR_ALLY
Affected units will decrease spell cost for their hero (Mage). If multiple units have this bonus only best value will be used
- val: reduction in mana points.
### CHANGES_SPELL_COST_FOR_ENEMY
Affected units will increase spell cost for enemy hero (Silver Pegasus). If multiple units have this bonus only best value will be used
- val: increase in mana points.
### SPELL_RESISTANCE_AURA
All units adjacent to affected unit will receive additional spell resistance bonus. If multiple adjacent units have this bonus only best value will be used
- val: additional resistance bonus, percentage
### HP_REGENERATION
Affected unit will regenerate portion of its health points on its turn.
- val: amount of health points gained per round
### MANA_DRAIN
Affected unit will drain specified amount of mana points from enemy hero on each turn
val: spell points per turn to take
### MANA_CHANNELING
Affected unit will give his hero specified portion of mana points spent by enemy hero
- val: spell points to give, percentage
### LIFE_DRAIN
Affected unit will heal itself, resurrecting any dead units, by amount of dealt damage (Vampire Lord)
- val: percentage of damage that will be converted into health points
### DOUBLE_DAMAGE_CHANCE
Affected unit has chance to deal double damage on attack (Death Knight)
- val: chance to trigger, percentage
### FEAR
If enemy army has creatures affected by this bonus, they will skip their turn with 10% chance (Azure Dragon). Blocked by FEARLESS bonus.
### HEALER
Affected unit acts as healing tent and can heal allied units on each turn
- subtype: identifier of spell that will be used for healing action
### FIRE_SHIELD
When affected unit is attacked, portion of received damage will be also dealt to the attacked. Units immune to fire magic will not receive this damage. Only melee attacks will trigger this bonus
- val: amount to deal in return, percentage
### MAGIC_MIRROR
If affected unit is targeted by a spell it will reflect spell to a random enemy unit
- val: chance to trigger, percentage
### ACID_BREATH
Affected unit will deal additional damage after attack
- val - additional damage to deal, multiplied by unit stack size
- additional info: chance to trigger, percentage
### DEATH_STARE
Affected unit will kill additional units after attack. Used for Death stare (Mighty Gorgon) ability and for Accurate Shot (Pirates, HotA)
- subtype:
- deathStareGorgon: only melee attack, random amount of killed units
- deathStareNoRangePenalty: only ranged attacks without obstacle (walls) or range penalty
- deathStareRangePenalty: only ranged attacks with range penalty
- deathStareObstaclePenalty: only ranged attacks with obstacle (walls) penalty
- deathStareRangeObstaclePenalty: only ranged attacks with both range and obstacle penalty
- deathStareCommander: fixed amount, both melee and ranged attacks
- val:
- for deathStareCommander: number of creatures to kill, total amount of killed creatures is (attacker level / defender level) \* val
- for all other subtypes: chance to kill, counted separately for each unit in attacking stack, percentage. At most (stack size \* chance) units can be killed at once, rounded up
- addInfo:
- SpellID to be used as hit effect. If not set - 'deathStare' spell will be used. If set to "accurateShot" battle log messages will use alternative description
### SPECIAL_CRYSTAL_GENERATION
If player has affected unit under his control in any army, he will receive additional 3 crystals on new week (Crystal Dragons)
### NO_SPELLCAST_BY_DEFAULT
Affected unit will not use spellcast as default attack option
## Creature spellcasting and activated abilities
### SPELLCASTER
Affected units can cast a spell as targeted action (Archangel, Faerie Dragon). Use CASTS bonus to specify how many times per combat creature can use spellcasting. Use SPECIFIC_SPELL_POWER, CREATURE_SPELL_POWER or CREATURE_ENCHANT_POWER bonuses to set spell power.
- subtype: spell identifier
- value: spell mastery level
- additional info: weighted chance to select this spell. Can be omitted for always available spells
### ENCHANTER
Affected unit will cast specified spell before his turn (Enchanter)
- val - spell mastery level
- subtype - spell identifier
- additionalInfo - cooldown before next cast, in number of turns
### RANDOM_SPELLCASTER
Affected unit can cast randomly selected beneficial spell on its turn (Master Genie)
- val - spell mastery level
### CASTS
Determines how many times per combat affected creature can cast its targeted spell
- val: number of casts available per combat
### SPELL_AFTER_ATTACK
- subtype - spell id, eg. spell.iceBolt
- value - chance (percent)
- additional info - \[X, Y, Z\]
- X - spell mastery level (1 - Basic, 3 - Expert)
- Y = 0 - all attacks, 1 - shot only, 2 - melee only
- Z (optional) - layer for multiple SPELL_AFTER_ATTACK bonuses and multi-turn casting. Empty or value less than 0 = not participating in layering.
When enabled - spells from specific layer will not be cast until target has all spells from previous layer on him. Spell from last layer is on repeat if none of spells on lower layers expired.
### SPELL_BEFORE_ATTACK
- subtype - spell id
- value - chance %
- additional info - \[X, Y, Z\]
- X - spell mastery level (1 - Basic, 3 - Expert)
- Y = 0 - all attacks, 1 - shot only, 2 - melee only
- Z (optional) - layer for multiple SPELL_BEFORE_ATTACK bonuses and multi-turn casting. Empty or value less than 0 = not participating in layering.
When enabled - spells from specific layer will not be cast until target has all spells from previous layer on him. Spell from last layer is on repeat if none of spells on lower layers expired.
### SPECIFIC_SPELL_POWER
- value: Used for Thunderbolt and Resurrection cast by units (multiplied by stack size). Also used for Healing secondary skill (for core:spell.firstAid used by First Aid tent)
- subtype - spell id
### CREATURE_SPELL_POWER
- value: Spell Power of offensive spell cast unit, multiplied by 100. ie. Faerie Dragons have value fo 500, which gives them 5 Spell Power for each unit in the stack.
### CREATURE_ENCHANT_POWER
- val: Total duration of spells cast by creature, in turns
### REBIRTH
Affected stack will resurrect after death
- val - percent of total stack HP restored, not rounded. For instance, when 4 Phoenixes with Rebirth chance of 20% die, there is 80% chance than one Phoenix will rise.
- subtype:
- rebirthRegular: Phoenix, as described above.
- rebirthSpecial: At least one unit will always rise (Sacred Phoenix)
### ENCHANTED
Affected unit is permanently enchanted with a spell, that is cast again every turn
- subtype: spell identifier
- val: spell mastery level. If above 3, then spell has mass effect with mastery level of (val-3)
## Spell immunities
### LEVEL_SPELL_IMMUNITY
Affected unit is immune to all spell with level below or equal to value of this bonus
- val: level of spell up to which this unit is immune to
### MAGIC_RESISTANCE
Affected unit has a chance to resist hostile spell and avoid its effects
- val: chance to trigger, percentage
### SPELL_DAMAGE_REDUCTION
Affected unit receives decreased damage from spells of specific school (Golems)
- val: reduction to damage, percentage
- subtype - spell school identifier
### MORE_DAMAGE_FROM_SPELL
Affected unit receives increased damage from specific spell
- val: increase to damage, percentage
- subtype: spell identifier
### MIND_IMMUNITY
Affected creature is immune to all mind spells and receives reduced damage from Mind Elemental
### SPELL_IMMUNITY
Affected unit is completely immune to effects of specific spell
- subtype: identifier of spell to which unit is immune
### SPELL_SCHOOL_IMMUNITY
Affected unit is immune to all spells of a specified spell school
- subtype: spell school to which this unit is immune to
### RECEPTIVE
Affected unit can be affected by all friendly spells even it would be normally immune to such spell.
## Spell effects
### POISON
Unit affected by poison will lose 10% of max health every combat turn, up to `val`. After that, effect ends.
- val - max health penalty from poison possible
### SLAYER
Affected unit will deal increased damage to creatures with KING bonus
- val: skill mastery of Slayer spell, only creatures with lower or equal value of KING bonus are affected
### FORGETFULL
Affected unit has its ranged attack power reduced (Forgetfulness)
- val: if 0 or 1, damage is reduced by 50%. If greater than 1 then creature can not use ranged attacks
### NOT_ACTIVE
Affected unit can not act and is excluded from turn order (Blind, Stone Gaze, Paralyze)
- subtype: spell that caused this effect, optional
### ALWAYS_MINIMUM_DAMAGE
Affected creature always deals its minimum damage
- val: additional decrease to unit's minimum damage, points. Can not reduce damage to zero
### ALWAYS_MAXIMUM_DAMAGE
Affected creature always deals its maximum damage. If unit is also affected by ALWAYS_MINIMUM_DAMAGE then only additional bonus to damage will be applied
- val: additional increase to unit's maximum damage, points
### ATTACKS_NEAREST_CREATURE
Affected unit can not be controlled by player and instead it will attempt to move and attack nearest unit, friend or foe
### IN_FRENZY
Affected unit's defense is reduced to 0 and is transferred to attack with specified multiplier
- val: multiplier factor with which defense is transferred to attack (percentage)
### HYPNOTIZED
Affected unit is considered to be hypnotized and will be controlled by enemy player
### NO_RETALIATION
Affected unit will never retaliate to an attack (Blind, Paralyze)
## Others
### NEGATIVE_EFFECTS_IMMUNITY
Affected unit is immune to all negative spells of specified spell school
- subtype: affected spell school
### BLOCK_MAGIC_ABOVE
Blocks casting spells of the level above specified one in battles affected by this bonus
- val: level above which spellcasting is blocked
### BLOCK_ALL_MAGIC
Blocks casting of all spells in battles affected by this bonus
### GENERAL_DAMAGE_PREMY
Affected unit will deal more damage in all attacks (Adela specialty)
- val: additional damage, percentage
### DISGUISED
Affected heroes will be under effect of Disguise spell, hiding some of their information from opposing players
- val: spell mastery level
### VISIONS
Affected heroes will be under effect of Visions spell, revealing information of enemy objects in specific range
- val: multiplier to effect range. Information is revealed within (val \* hero spell power) range
- subtype:
- visionsMonsters: reveal information on monsters,
- visionsHeroes: reveal information on heroes,
- visionsTowns: reveal information on towns
### BLOCK_MAGIC_BELOW
Blocks casting spells of the level below specified one in battles affected by this bonus
- val: level below which spellcasting is blocked
### BIND_EFFECT
Dummy bonus that acts as marker for Dendroid's Bind ability
### SYNERGY_TARGET
Dummy skill for alternative upgrades mod
### THIEVES_GUILD_ACCESS
Increases amount of information available in affected thieves guild (in town or in adventure map tavern). Does not affects adventure map object "Den of Thieves". You may want to use PLAYER_PROPAGATOR with this bonus to make its effect player wide.
- val: additional number of 'levels' of information to grant access to
### LEVEL_COUNTER
Internal bonus, do not use
### DISINTEGRATE
When a unit affected by this bonus dies, no corpse is left behind
### INVINCIBLE
The unit affected by this bonus cannot be target of attacks or spells
|