MantisBT - VCMI
View Issue Details
0001345VCMIMechanics - Battlespublic2013-07-18 14:402022-04-11 17:49
Warmonger 
Warmonger 
normalminorhave not tried
closedfixed 
0.93 
0.940.94 
0001345: Haste and Prayer increase speed 1 less tile than needed
look on movement range, not on creature speed value
No tags attached.
related to 0001367closed Warmonger Creature specialists should give +1 to speed to creatures 
png bug1345.png (161,808) 2013-07-22 09:59
https://bugs.vcmi.eu/file_download.php?file_id=1392&type=bug
png
Issue History
2013-07-18 14:40WarmongerNew Issue
2013-07-18 14:40WarmongerStatusnew => assigned
2013-07-18 14:40WarmongerAssigned To => Warmonger
2013-07-22 09:59WarmongerFile Added: bug1345.png
2013-07-22 10:00WarmongerNote Added: 0003780
2013-07-22 10:00WarmongerNote Edited: 0003780bug_revision_view_page.php?bugnote_id=3780#r2337
2013-07-22 10:28WarmongerNote Added: 0003781
2013-07-22 10:28WarmongerNote Edited: 0003781bug_revision_view_page.php?bugnote_id=3781#r2339
2013-07-22 10:40WarmongerNote Added: 0003782
2013-07-22 10:40WarmongerStatusassigned => resolved
2013-07-22 10:40WarmongerFixed in Version => 0.94
2013-07-22 10:40WarmongerResolutionopen => fixed
2013-07-22 17:07WarmongerRelationship addedrelated to 0001367
2022-04-11 17:49PovelitelStatusresolved => closed

Notes
(0003780)
Warmonger   
2013-07-22 10:00   
There's more in that. Slow also causes creature to have 1 tile less movement than it reads, check the screenshot. Certainly very interesting issue.

(0003781)
Warmonger   
2013-07-22 10:28   
Another issue caused by incomplete config. Anyway, what's the use of this code?

    int percentBonus = 0;
    for(const Bonus *b : getBonusList())
    {
        if(b->type == Bonus::STACKS_SPEED)
        {
            percentBonus += b->additionalInfo;
        }
    }

    speed = ((100 + percentBonus) * speed)/100;

Description of spell effects I found doesn't mention any additional modifiers to speed.

(0003782)
Warmonger   
2013-07-22 10:40   
Fixed bug in r3463, but design issue still remains.