MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002425VCMIMechanics - Objectspublic2016-03-12 14:452016-03-13 08:42
ReporterKantor 
Assigned ToSXX 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version0.98g 
Target VersionFixed in Version0.99 
Summary0002425: Magic Guild doesn't teach garrisoned hero new spells after upgrading one
DescriptionAs description says, upgrading Magic Guild doesn't add any new spells, that hero can learn. Spells are added after revisiting town.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0006475)
SXX (administrator)
2016-03-13 07:12
edited on: 2016-03-13 07:13

So here is logic in CGameHandler::buildStructure to do this, but it's doesn't work because it's executed before NewStructures apply on gamestate. Also suppose there is no code to give new spells when library built in Tower.

(0006477)
SXX (administrator)
2016-03-13 08:42

Fixed:
https://github.com/vcmi/vcmi/commit/bee0c6d7052bb868ed5e29082aa302ef8d397d6c [^]

- Issue History
Date Modified Username Field Change
2016-03-12 14:45 Kantor New Issue
2016-03-13 07:08 SXX Assigned To => SXX
2016-03-13 07:08 SXX Status new => assigned
2016-03-13 07:12 SXX Note Added: 0006475
2016-03-13 07:13 SXX Note Edited: 0006475 View Revisions
2016-03-13 08:42 SXX Note Added: 0006477
2016-03-13 08:42 SXX Status assigned => resolved
2016-03-13 08:42 SXX Fixed in Version => 0.98g
2016-03-13 08:42 SXX Resolution open => fixed
2016-03-13 08:42 SXX Fixed in Version 0.98g => 0.99

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2018 MantisBT Team
Hosting provided by DigitalOcean