Creature Bank
Reward types for clearing creature bank are limited to resources, creatures, artifacts and spell. Format of rewards is same as in Rewardable Objects
Deprecated in 1.6. Please use Rewardable Objects instead. See Conversion from 1.5 format section below for help with migration
Example
This example defines a rewardable object with functionality similar of H3 creature bank. See Rewardable Objects for detailed documentation of these properties.
Conversion from 1.5 format
This is a list of changes that needs to be done to bank config to migrate it to 1.6 system. See Rewardable Objects documentation for description of new fields
-
If your object type has defined
handler
, change its value frombank
toconfigurable
-
If your object has non-zero
resetDuration
, replace withresetParameters
entry -
For each possible level, replace
chance
withappearChance
entry -
If you have
combat_value
orfield
entries inside 'reward' - remove them. These fields are unused in both 1.5 and in 1.6 -
Rename
levels
entry torewards
-
Add property
"visitMode" : "once"
- Add property
"onGuardedMessage" : 119
, optionally - replace with custom message for object visit - Add property
"onVisitedMessage" : 33
, optionally - custom message or morale debuff - Add property
"message" : 34
, to every level of your reward, optionally - replace with custom message