MantisBT - VCMI
View Issue Details
0001898VCMIMechanics - Objectspublic2014-09-23 21:172016-11-30 08:01
Povelitel 
AVS 
normalminoralways
closedfixed 
0.96 
0.99 
0001898: Admiral hat, sea captains hat - no magic spells in the book, if the hero is no book of magic
spells: "summon boat", "scuttle boat"
No tags attached.
related to 0000482closed AVS Tome of Magic without spell book. 
related to 0002155closed AVS A hero without spellbook can't use spell scrolls 
? _TEST_ARTIFACTS.h3m (9,038) 2014-12-24 18:57
https://bugs.vcmi.eu/file_download.php?file_id=2045&type=bug
Issue History
2014-09-23 21:17PovelitelNew Issue
2014-09-23 21:17PovelitelStatusnew => assigned
2014-09-23 21:17PovelitelAssigned To => Warmonger
2014-09-30 14:40WarmongerNote Added: 0004994
2014-09-30 15:37PovelitelNote Added: 0004995
2014-12-24 18:57SXXNote Added: 0005267
2014-12-24 18:57SXXFile Added: _TEST_ARTIFACTS.h3m
2014-12-24 18:58SXXNote Edited: 0005267bug_revision_view_page.php?bugnote_id=5267#r2766
2015-02-15 07:06SXXRelationship addedrelated to 0000482
2015-04-02 05:09SXXRelationship addedrelated to 0002155
2016-10-01 14:03AVSAssigned ToWarmonger => AVS
2016-10-01 14:23AVSNote Added: 0006793
2016-10-01 14:23AVSStatusassigned => resolved
2016-10-01 14:23AVSFixed in Version => 0.99
2016-10-01 14:23AVSResolutionopen => fixed
2016-11-30 08:01PovelitelStatusresolved => closed

Notes
(0004994)
Warmonger   
2014-09-30 14:40   
How do they work and how should they work?

As far as I remember, hero without spellbook can't cast ANY spells. The only exception is Titan's Thunder effect.
(0004995)
Povelitel   
2014-09-30 15:37   
Even if the hero is no book, these spells should appear. When he would put these artifacts
(0005267)
SXX   
2014-12-24 18:57   
(edited on: 2014-12-24 18:58)
So I'm checked this in H3 and here is following behaviours:
 - All artifacts that give spells let you cast them on adventure map without spellbook: Spell Scroll, Tome of *, Spellbinder's Hat, etc.
 - Though none of them let you cast spells in battle without spellbook.

Also attach small map I using for testing.

(0006793)
AVS   
2016-10-01 14:23   
fixed in https://github.com/vcmi/vcmi/commit/799b8519e08aa84818175a5fcc534f19cf78f5dd [^]