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

Merge pull request #5851 from Laserlicht/max_range_spell

max range for spell cast
This commit is contained in:
Ivan Savenko
2025-07-09 11:05:37 +03:00
committed by GitHub
15 changed files with 90 additions and 1 deletions

View File

@@ -888,7 +888,7 @@ Affected unit will not use spellcast as default attack option
### SPELLCASTER
Affected units can cast a spell as targeted action (Archangel, Faerie Dragon). Use CASTS bonus to specify how many times per combat creature can use spellcasting. Use SPECIFIC_SPELL_POWER, CREATURE_SPELL_POWER or CREATURE_ENCHANT_POWER bonuses to set spell power.
Affected units can cast a spell as targeted action (Archangel, Faerie Dragon). Use CASTS bonus to specify how many times per combat creature can use spellcasting. Use SPECIFIC_SPELL_POWER, CREATURE_SPELL_POWER or CREATURE_ENCHANT_POWER bonuses to set spell power. SPECIFIC_SPELL_RANGE bonus can be used to limit range of spell.
- subtype: spell identifier
- val: spell mastery level
@@ -939,6 +939,11 @@ Determines how many times per combat affected creature can cast its targeted spe
- value: Used for Thunderbolt and Resurrection cast by units (multiplied by stack size). Also used for Healing secondary skill (for core:spell.firstAid used by First Aid tent)
- subtype - spell id
### SPECIFIC_SPELL_RANGE
- value: Can be used to limit range of spells casted by creatures.
- subtype - spell id
### CREATURE_SPELL_POWER
- value: Spell Power of offensive spell cast unit, multiplied by 100. ie. Faerie Dragons have value fo 500, which gives them 5 Spell Power for each unit in the stack.