MantisBT - VCMI
View Issue Details
0002868VCMIMechanics - Otherpublic2018-01-30 05:242018-01-30 12:51
Andruids 
Warmonger 
lowminoralways
resolvedno change required 
PCWindows8.1
0.99 
1.next 
0002868: Magic schools' skills don't decrease custom spells' cost
Magic schools' secondary skills (Fire/Water/Air/Earth) don't automatically decrease mana cost for custom spells of their respective elements.
1) Download attached mod with a new custom spell - Mass Shield, costing 10 mana.
2) Start a single player scenario and choose a hero starting with Earth Magic Skill (e.g. Grindan from Conflux)
3) In tavern, buy another hero, without that Skill
4) Enter the cheatcode for both heroes - vcmiistari
5) Casting Mass Shield will cost both heroes the same amount, despite Earth Magic decreasing the cost of corresponding magic school spells, by their level. That means Grindan's "Mass Shield" should cost him 9 magic points instead of regular 10 (I set it as level 1).
No tags attached.
rar Spell cost test.rar (36,490) 2018-01-30 05:24
https://bugs.vcmi.eu/file_download.php?file_id=2841&type=bug
Issue History
2018-01-30 05:24AndruidsNew Issue
2018-01-30 05:24AndruidsFile Added: Spell cost test.rar
2018-01-30 05:26SXXAssigned To => AVS
2018-01-30 05:26SXXStatusnew => assigned
2018-01-30 11:56WarmongerNote Added: 0007390
2018-01-30 11:56WarmongerAssigned ToAVS =>
2018-01-30 11:56WarmongerStatusassigned => acknowledged
2018-01-30 12:49AVSStatusacknowledged => resolved
2018-01-30 12:49AVSFixed in Version => 1.next
2018-01-30 12:49AVSResolutionopen => no change required
2018-01-30 12:49AVSAssigned To => Warmonger
2018-01-30 12:51SXXNote Added: 0007391

Notes
(0007390)
Warmonger   
2018-01-30 11:56   
They are not supposed to. You need to specify custom spell cost in spell config for each particular level.
(0007391)
SXX   
2018-01-30 12:51   
My bad then. I personally think it's supposed to work like that so asked to report this.

Isn't that would be nice if we had automatically spell cost calculation as well as option to manually setup them?