Update schema & docs

This commit is contained in:
Ivan Savenko
2025-05-21 14:57:10 +03:00
parent be37b04ca4
commit 9787f33798
2 changed files with 11 additions and 2 deletions
+5
View File
@@ -178,6 +178,11 @@
"type" : "string",
"description" : "stacking"
},
"icon" : {
"type" : "string",
"description" : "Optional, custom icons to show in creature window",
"format" : "imageFile"
},
"description" : {
"anyOf" : [
{ "type" : "string" },
+6 -2
View File
@@ -65,8 +65,12 @@ All parameters but type are optional.
// using its propagator. It has no effect on bonuses without propagator
"propagationUpdater" : {Bonus Updater, but works during propagation},
// TODO
"description" : "",
// Optional custom description, at the moment limited to creature abilities
// Visible only in creature window
"description" : "{Ability Name}\nLong description text",
// Optional, path to custom icon that will be visible in creature window
"icon" : "",
// Stacking string allows to block stacking of bonuses from different entities
// For example, devils and archdevils (different entities) both have battle-wide debuff to luck