MantisBT - VCMI | |||||||||||||||
View Issue Details | |||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||
0002277 | VCMI | Mechanics - Other | public | 2015-10-03 21:56 | 2022-04-12 11:04 | ||||||||||
Reporter | SXX | ||||||||||||||
Assigned To | SXX | ||||||||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||||||||
Status | closed | Resolution | fixed | ||||||||||||
Platform | OS | OS Version | |||||||||||||
Product Version | 0.98d | ||||||||||||||
Target Version | Fixed in Version | 0.99 | |||||||||||||
Summary | 0002277: Random heroes always have subID of zero and don't inherit predefined options | ||||||||||||||
Description | This is problem specific for Obj::RANDOM_HERO. Any heroes that was spawned from random hero object on map are never fully initialized. Also if hero chosen by GameState::randomizeObject had predefined skills/spells/etc in map options those won't be used at all. I find that issue because at least "RemoveObject::applyGs" use subID for ID in available heroes pool. So when map only have limited number of heroes allowed and they all spawned as "RANDOM_HERO" they won't back into pool after defeat / dismiss. | ||||||||||||||
Steps To Reproduce | |||||||||||||||
Additional Information | |||||||||||||||
Tags | No tags attached. | ||||||||||||||
Relationships |
| ||||||||||||||
Attached Files | SXX_TELEPORT_Heroes_non-random.h3m (9,592) 2015-10-04 13:42 https://bugs.vcmi.eu/file_download.php?file_id=2340&type=bug SXX_TELEPORT_Heroes_random.h3m (9,594) 2015-10-04 13:42 https://bugs.vcmi.eu/file_download.php?file_id=2341&type=bug SXX_TELEPORT_Heroes_random_predefined.h3m (9,641) 2015-10-04 13:42 https://bugs.vcmi.eu/file_download.php?file_id=2342&type=bug SXX_Hero_subID_bug.h3m (1,865) 2015-12-05 08:02 https://bugs.vcmi.eu/file_download.php?file_id=2399&type=bug | ||||||||||||||
Issue History | |||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||
2015-10-03 21:56 | SXX | New Issue | |||||||||||||
2015-10-04 09:13 | Warmonger | Note Added: 0005904 | |||||||||||||
2015-10-04 13:35 | SXX | Note Added: 0005905 | |||||||||||||
2015-10-04 13:42 | SXX | File Added: SXX_TELEPORT_Heroes_non-random.h3m | |||||||||||||
2015-10-04 13:42 | SXX | File Added: SXX_TELEPORT_Heroes_random.h3m | |||||||||||||
2015-10-04 13:42 | SXX | File Added: SXX_TELEPORT_Heroes_random_predefined.h3m | |||||||||||||
2015-10-04 13:42 | SXX | Note Edited: 0005905 | bug_revision_view_page.php?bugnote_id=5905#r2951 | ||||||||||||
2015-10-04 13:58 | SXX | Note Added: 0005906 | |||||||||||||
2015-10-04 16:29 | Warmonger | Note Edited: 0005904 | bug_revision_view_page.php?bugnote_id=5904#r2953 | ||||||||||||
2015-11-25 16:15 | SXX | Relationship added | related to 0001929 | ||||||||||||
2015-11-25 16:15 | SXX | Note Added: 0006115 | |||||||||||||
2015-12-05 07:54 | SXX | Note Added: 0006147 | |||||||||||||
2015-12-05 08:02 | SXX | File Added: SXX_Hero_subID_bug.h3m | |||||||||||||
2016-09-12 03:26 | SXX | Assigned To | => SXX | ||||||||||||
2016-09-12 03:26 | SXX | Status | new => assigned | ||||||||||||
2016-09-18 01:39 | SXX | Relationship added | related to 0002127 | ||||||||||||
2016-09-18 07:08 | SXX | Note Added: 0006682 | |||||||||||||
2016-09-18 07:08 | SXX | Status | assigned => resolved | ||||||||||||
2016-09-18 07:08 | SXX | Fixed in Version | => 0.99 | ||||||||||||
2016-09-18 07:08 | SXX | Resolution | open => fixed | ||||||||||||
2022-04-12 11:04 | Povelitel | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|