MantisBT - VCMI
View Issue Details
0001194VCMIMechanics - Battlespublic2013-01-31 03:232015-12-24 05:34
un_notas 
Warmonger 
lowminorsometimes
closedfixed 
PCWindows7
 
0.98f 
0001194: Magic Arrow doesn't work properly
I have cast magic arrow with two different heroes (one expert in fire and the other just basic water) and the animation worked, the subtitle about the damaged appeared but the spell didn't really work because the enemy was unharmed.

I have tried to find out more info, but nothing useful.
No tags attached.
related to 0001207closed Warmonger Battle freezes when area spells are cast on empty space 
related to 0000831closed Warmonger Spell damage is shown at double the value in battle log since 0.86c 
txt VCMI_Client_log.txt (1,038,206) 2013-01-31 03:23
https://bugs.vcmi.eu/file_download.php?file_id=1182&type=bug
Issue History
2013-01-31 03:23un_notasNew Issue
2013-01-31 03:23un_notasFile Added: VCMI_Client_log.txt
2013-02-13 07:28WarmongerRelationship addedrelated to 0001207
2013-02-13 07:48WarmongerRelationship addedrelated to 0000831
2013-02-17 15:50WarmongerAssigned To => Warmonger
2013-02-17 15:50WarmongerStatusnew => assigned
2013-02-17 17:12IvanNote Added: 0003385
2015-12-24 05:34SXXNote Added: 0006206
2015-12-24 05:34SXXStatusassigned => closed
2015-12-24 05:34SXXResolutionopen => fixed
2015-12-24 05:34SXXFixed in Version => 0.98f

Notes
(0003385)
Ivan   
2013-02-17 17:12   
Trying to run vcmi using valgrind with ~1 fps speed. Found uninitialized value that may cause this bug:

==5093== Thread 4:
==5093== Conditional jump or move depends on uninitialised value(s)
==5093== at 0x5B08539: IBonusBearer::getEffect(unsigned short, int) const (HeroBonus.cpp:508)
==5093== by 0x579FE27: CBattleInfoCallback::calculateDmgRange(BattleAttackInfo const&) const (CBattleCallback.cpp:817)
==5093== by 0x57A1EE3: CBattleInfoCallback::battleEstimateDamage(BattleAttackInfo const&, std::pair<unsigned int, unsigned int>*) const (CBattleCallback.cpp:994)
==5093== by 0x57A1DCE: CBattleInfoCallback::battleEstimateDamage(CStack const*, CStack const*, std::pair<unsigned int, unsigned int>*) const (CBattleCallback.cpp:984)
==5093== by 0x974525: CBattleInterface::handleHex(BattleHex, int) (CBattleInterface.cpp:3051)
==5093== by 0x972704: CBattleInterface::mouseMoved(SDL_MouseMotionEvent const&) (CBattleInterface.cpp:1002)
==5093== by 0x9D1BC1: CGuiHandler::handleMoveInterested(SDL_MouseMotionEvent const&) (CGuiHandler.cpp:352)
==5093== by 0x9D1A63: CGuiHandler::handleMouseMotion(SDL_Event*) (CGuiHandler.cpp:333)
==5093== by 0x9D0536: CGuiHandler::handleEvent(SDL_Event*) (CGuiHandler.cpp:214)
==5093== by 0x9D0126: CGuiHandler::handleEvents() (CGuiHandler.cpp:177)
==5093== by 0xC562AF: CPlayerInterface::update() (CPlayerInterface.cpp:1568)
==5093== by 0xC5653B: non-virtual thunk to CPlayerInterface::update() (CPlayerInterface.cpp:1582)
(0006206)
SXX   
2015-12-24 05:34   
Another bug that fixed long time ago.