MantisBT - VCMI
View Issue Details
0002210VCMIMechanics - Battlespublic2015-06-12 01:242016-11-11 08:25
exfizik 
AVS 
normalminoralways
closedfixed 
Linux 64 bitOpenSuseTumbleweed
0.98b 
0.98c 
0002210: Enchanters don't cast spells
Enchanters (those blue super-wizards) don't cast mass spells (well, any spells) during battle. They are supposed to do it on their own.
Start a battle using Dragon Slayer campaign, wait for enchanters' turn and see them do nothing. The main hero can upgrade wizards to enchanters using his ability.
I'm using the latest git tree), says version 0.98c. You can try using attached saves.
No tags attached.
? NEWGAME1.vsgm1 (3,418,530) 2015-06-12 01:24
https://bugs.vcmi.eu/file_download.php?file_id=2250&type=bug
zip save.zip (914,108) 2015-06-12 01:25
https://bugs.vcmi.eu/file_download.php?file_id=2251&type=bug
Issue History
2015-06-12 01:24exfizikNew Issue
2015-06-12 01:24exfizikFile Added: NEWGAME1.vsgm1
2015-06-12 01:25exfizikFile Added: save.zip
2015-06-12 01:25exfizikNote Added: 0005743
2015-06-12 01:56exfizikNote Added: 0005744
2015-06-12 03:42exfizikNote Added: 0005745
2015-06-12 06:00WarmongerNote Added: 0005747
2015-06-21 17:35AVSNote Added: 0005759
2015-06-21 17:36AVSStatusnew => confirmed
2015-06-21 17:37AVSNote Edited: 0005759bug_revision_view_page.php?bugnote_id=5759#r2920
2015-06-21 18:31AVSNote Added: 0005761
2015-06-21 18:31AVSStatusconfirmed => resolved
2015-06-21 18:31AVSFixed in Version => 0.98c
2015-06-21 18:31AVSResolutionopen => fixed
2015-06-21 18:31AVSAssigned To => AVS
2016-11-11 08:25SXXStatusresolved => closed

Notes
(0005743)
exfizik   
2015-06-12 01:25   
Use save.zip, not the other file I attached by mistake.
(0005744)
exfizik   
2015-06-12 01:56   
correction. They do cast spells - for example they cast weakness on air elementals. I suspect they didn't cast in my first battle because I was against earth elementals and whatever they were trying to cast didn't work on them... Just guessing. I think in that case they should've cast something good on my own troops, but they never did in the first battle.
(0005745)
exfizik   
2015-06-12 03:42   
I guess you can remove this ticket - it only didn't work with the earth elementals... Worked on every battle since.
(0005747)
Warmonger   
2015-06-12 06:00   
I still believe that Enchanters still should try to cast any spell if it's possible.
(0005759)
AVS   
2015-06-21 17:35   
(edited on: 2015-06-21 17:37)
But they do not. There is a TODO note about that (CGameHandler.cpp:4221)

(0005761)
AVS   
2015-06-21 18:31   
Should be fixed in https://github.com/vcmi/vcmi/commit/e27516a0b5ef2907ac48b00cc3c5efcd66cf80c3 [^]