MantisBT - VCMI
View Issue Details
0002621VCMIModspublic2016-11-27 11:572016-11-27 20:02
WindowsWindows 7
0002621: Bastion commander crashes when shooting
Bastion hero commanders cannot shoot. If I give him an artifact which boosts ranged damage, VCMI crashes every time the commander attempts to shoot. It may be true also for some othrer commanders (I think I have seen one commander from some other town who could not shoot).
Hire a Bastion hero, give his commander an artifact which increases ranged damage, make him shoot in a battle.
No tags attached.
? preacher.json (2,003) 2016-11-27 20:02
Issue History
2016-11-27 11:57stachnieNew Issue
2016-11-27 14:52DydzioCategoryGUI - Battles => Mods
2016-11-27 14:56DydzioNote Added: 0006917
2016-11-27 19:49misioklesNote Added: 0006918
2016-11-27 20:01misioklesNote Added: 0006919
2016-11-27 20:02misioklesNote Edited: 0006919bug_revision_view_page.php?bugnote_id=6919#r3310
2016-11-27 20:02misioklesFile Added: preacher.json

2016-11-27 14:56   
Most likely mod fault, not VCMI fault (commanders should have shooting fully supported to work correctly).
2016-11-27 19:49   
Preacher (Bastion commander) HAS ALL shooting animation! Problem is n whole VCMI WoG commander system. In native WoG any commander can't shoot at start, unless he gain shooting ability. In VCMI WoG mod, all commanders have shooting ability from the beginning. But, edeksumo - author of Bastion mod - decide not implement shooting ability from start, only to learn it later (like core WoG does).
So preacher.json file doesn't have command:
"canShoot" :
"type" : "SHOOTER"

So Preacher can't shoot by configuration. So I guess, when you try to wear artifact that allow commander to shoot - crash appear.
2016-11-27 20:01   
(edited on: 2016-11-27 20:02)
I attached preacher.json with shooting ability at start. Replace files and problem with shooting artifacts should be fixed.