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

Merge pull request #5892 from Laserlicht/spell_school

custom spell schools in spell book
This commit is contained in:
Ivan Savenko
2025-07-09 11:04:27 +03:00
committed by GitHub
13 changed files with 237 additions and 65 deletions

View File

@@ -1,16 +1,18 @@
# Spell School Format
WARNING: currently custom spell schools are only partially supported:
- it is possible to use custom spell schools in bonus system
- it is possible to make skill for specializing in such spell
- it is possible to specify border decorations for mastery level of such spell in spellbook
- it is NOT possible to add "bookmark" filter for spellbook for spells of such school
```json
// Internal field for H3 schools. Do not use for mods
"index" : "",
// displayed name of the school
"name" : "",
// animation file with spell borders for spell mastery levels
"schoolBorders" : "SplevA"
"schoolBorders" : "SplevA",
// animation file with bookmark symbol (first frame unselected, second is selected)
"schoolBookmark" : "schoolBookmark",
// image file for header of school for spellbook
"schoolHeader" : "SchoolHeader"
```