1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Merge pull request #6276 from IvanSavenko/misc_fixes

Fixes for multiple recently reported issues
This commit is contained in:
Ivan Savenko
2025-11-04 15:55:15 +02:00
committed by GitHub
26 changed files with 178 additions and 62 deletions

View File

@@ -543,9 +543,26 @@ When affected unit is attacked from behind, it will receive more damage when att
Affected unit will deal more damage when attacking specific creature
- subtype - identifier of hated creature, ie. "creature.genie"
- subtype - identifier of hated creature, ie. `genie`
- val - additional damage, percentage
### HATES_TRAIT
Affected unit will deal more damage when attacking unit that has specific bonus. Note that this bonus has no assigned description. To make it visible in creature window UI, make sure to provide custom description for such bonus.
- subtype - identifier of hated bonus, ie. `UNDEAD`
- val - additional damage, percentage
Example: Unit deals 50% more damage to any target that has UNDEAD bonus
```json
"hatesUndead" : {
"type" : "HATES_TRAIT",
"subtype" : "UNDEAD",
"val" : 50
}
```
### SPELL_LIKE_ATTACK
Affected unit ranged attack will use animation and range of specified spell (Magog, Lich)

View File

@@ -238,15 +238,13 @@ Building requirements can be described using logical expressions:
Following Heroes III buildings can be used as unique buildings for a town. Their functionality should be identical to a corresponding H3 building. H3 buildings that are not present in this list contain no hardcoded functionality. See vcmi json configuration to see how such buildings can be implemented in a mod.
- `mysticPond`
- `artifactMerchant`
- `freelancersGuild`
- `magicUniversity`
- `castleGate`
- `creatureTransformer`
- `portalOfSummoning`
- `library`
- `escapeTunnel`
- `treasury`
- `auroraBorealis`
- `deityOfFire`
#### Buildings from other Heroes III mods