mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-03 13:01:33 +02:00
More examples in docs
This commit is contained in:
parent
cc5564a7b1
commit
cf1c2d66cc
@ -79,6 +79,37 @@ These are just a couple of examples of what can be done in VCMI. See vcmi config
|
||||
},
|
||||
```
|
||||
|
||||
#### Brotherhood of Sword - bonuses in siege
|
||||
```jsonc
|
||||
"special3": {
|
||||
// replaces +1 Morale bonus from Tavern
|
||||
"upgradeReplacesBonuses" : true,
|
||||
// Gives +2 bonus to morale to town (effective only during siege)
|
||||
"bonuses": [
|
||||
{
|
||||
"type": "MORALE",
|
||||
"val": 2
|
||||
}
|
||||
],
|
||||
"upgrades" : "tavern"
|
||||
},
|
||||
```
|
||||
|
||||
#### Lighthouse - bonus to all heroes under player control
|
||||
```jsonc
|
||||
"special1": {
|
||||
"bonuses": [
|
||||
{
|
||||
"propagator": "PLAYER_PROPAGATOR", // bonus affects everything under player control
|
||||
"type": "MOVEMENT",
|
||||
"subtype": "heroMovementSea",
|
||||
"val": 500 // +500 movement points
|
||||
}
|
||||
],
|
||||
"requires" : [ "shipyard" ]
|
||||
},
|
||||
```
|
||||
|
||||
## Town Building node
|
||||
|
||||
```jsonc
|
||||
|
Loading…
x
Reference in New Issue
Block a user