MantisBT - VCMI
View Issue Details
0001042VCMIMechanics - Battlespublic2012-07-30 11:432014-05-30 17:41
Steven Aus 
Warmonger 
highmajoralways
closedfixed 
PCWindows7
 
0.9 
0001042: When in battle, Commanders count as Stack (eg. 1 Astral Spirit) rather than Commander, and don't get Commander levelup bonuses.
Attached is a save where you can try a battle with a levelled up Commander.
No tags attached.
7z Tale of Two Lands 3.7z (167,376) 2012-07-30 11:43
https://bugs.vcmi.eu/file_download.php?file_id=1029&type=bug
Issue History
2012-07-30 11:43Steven AusNew Issue
2012-07-30 11:43Steven AusFile Added: Tale of Two Lands 3.7z
2012-08-04 18:04douggie_mNote Added: 0002829
2012-08-05 07:47Steven AusNote Added: 0002835
2012-08-05 07:50Steven AusNote Edited: 0002835bug_revision_view_page.php?bugnote_id=2835#r1796
2012-08-05 07:50Steven AusNote Edited: 0002835bug_revision_view_page.php?bugnote_id=2835#r1797
2012-08-05 08:18WarmongerAssigned To => Warmonger
2012-08-05 08:18WarmongerStatusnew => assigned
2012-08-14 06:28WarmongerSeverityminor => major
2012-08-14 17:07douggie_mNote Added: 0002911
2012-08-14 17:08douggie_mNote Edited: 0002911bug_revision_view_page.php?bugnote_id=2911#r1840
2012-08-14 17:51WarmongerNote Added: 0002912
2012-08-14 19:47douggie_mNote Added: 0002913
2012-08-20 15:04WarmongerNote Added: 0002917
2012-08-20 15:05WarmongerPrioritynormal => high
2012-08-20 16:11WarmongerNote Added: 0002918
2012-08-20 16:11WarmongerStatusassigned => resolved
2012-08-20 16:11WarmongerFixed in Version => 0.9
2012-08-20 16:11WarmongerResolutionopen => fixed
2014-05-30 17:41beegeeStatusresolved => closed

Notes
(0002829)
douggie_m   
2012-08-04 18:04   
I didn't get what's wrong.

> When in battle, Commanders count as Stack (eg. 1 Astral Spirit) rather than Commander

Commander appears from nowhere, as I got, it's some special unit. Not displayed in unit stacks.

> and don't get Commander levelup bonuses

It does level up when your hero levels up.
(0002835)
Steven Aus   
2012-08-05 07:47   
(edited on: 2012-08-05 07:50)
I mean, the bonuses shown on the Commander screen in the hero screen, do not apply for the Commander in battles (right-clicking on the Commander). And instead of showing actual experience levels in battle like a Commander or hero, it shows the Stack Experience dialog, which means the Commander is being treated like a regular unit (or Stack) rather than as a special Commander. Try these things using my save - you'll see what I mean. :) I know the Commander levels up, it just doesn't get any of its bonuses in battle and is treated like a regular stack of 1 unit.

There's a small chance it is getting the bonuses but none of it is showing in battle, but this is unlikely. From what I've seen, the before (base stat) and after (edited stat) is always correct. And the after stat is different, when you are not in battle and you are looking at the Commander in the hero screen, compared to when you right-click on the Commander unit in battle.

Best regards,
Steven.

(0002911)
douggie_m   
2012-08-14 17:07   
(edited on: 2012-08-14 17:08)
> the Commander levels up, it just doesn't get any of its bonuses in battle and is treated like a regular stack of 1 unit

Well, I can't get any help on what do all these icons from `WoG-Lib1_res' mean. I see strength, first aid, angel wings, etc. I can guess that "hand with big muscle" mean +1 strength or so. But I don't know what does it mean. And there's no help when clicking on that with right button on hero level-up screen.

UPD: Is it supposed to be so intuitive so no help is needed on them?

(0002912)
Warmonger   
2012-08-14 17:51   
For now it is supposed to work same as WoG.
(0002913)
douggie_m   
2012-08-14 19:47   
> For now it is supposed to work same as WoG.

There was no help about commander's options in WoG too?
(0002917)
Warmonger   
2012-08-20 15:04   
At first i thought it's realted to creature/commander window, but apparently not.

The issue is that on Client stack base for Commander is set to NULL :( As early as BattleInfo::localInitStack is called.
(0002918)
Warmonger   
2012-08-20 16:11   
Fixed in r2834.