Two Spell Books with the same Base Order ID not sharing spells.

Level 4
Joined
Oct 11, 2017
Messages
37
Greetings, everyone.

Each of my heroes has a hidden spellbook (through the custom coords method), with the "weboff" Base Order ID.
Now, I've created a spell book with no spells inside, using the "weboff" Base Order ID, and put it in an item.

My idea is that heroes could only access their "hidden abilities" through this item, and I believed that spell books with the same Base Order Id were supposed to share their spell lists, but this isn't happening.

Any ideas/suggestions on how should I proceed?
 
Level 4
Joined
Oct 11, 2017
Messages
37
Can't you edit which spells are in the spellbook? Why does the unit itself need to have the spellbook ability in the first place?
You mean editing the Spell List using the Ability - Set String Field thing? I've tried it, with no avail.

My idea is that each hero will have a different spell list in their spell books, only accessible through the item.
 
Level 29
Joined
Aug 29, 2012
Messages
1,317
Are those spells randomized or something? Otherwise might as well just place them in the item spellbook itself

I assume it doesn't work because of the whole item thing, several spellbooks with a shared ID should stack correctly. Don't quote me on that but I don't think it's possible to force the opening of a spellbook ability via trigger too :/
 
Level 4
Joined
Oct 11, 2017
Messages
37
Are those spells randomized or something? Otherwise might as well just place them in the item spellbook itself

I assume it doesn't work because of the whole item thing, several spellbooks with a shared ID should stack correctly. Don't quote me on that but I don't think it's possible to force the opening of a spellbook ability via trigger too :/
Each hero has their unique list of spells, that I want to make accessible only through the Spell Book item. That's why I was trying to make the Spell Sharing trick using the item-book to access the unit-book.
 
Level 24
Joined
Feb 27, 2019
Messages
789
Worked properly in every item slot for me.
Hmm. Damn, its fucked for me.

What about add/remove ability from item? I heard the functions only work on items that are not owned. (Add ability seems to only work with owned items)

Oroes it work to add infinite spells to the spell book? And does disabling the abilities for a unit/player remove them from the spell book? If so, which abilities are shown could be handled by doing that.
 
Last edited:

Remixer

Map Reviewer
Level 33
Joined
Feb 19, 2011
Messages
2,089
Each hero has their unique list of spells, that I want to make accessible only through the Spell Book item.
I think it would be far simpler to make the spellbook item unique for each hero then and just swap it when each hero acquires it.

Hero Acquires Item (Any Spellbook) > Remove Item (Acquired Item)> Give Hero an Item (Correct Spellbook)
 
Level 4
Joined
Oct 11, 2017
Messages
37
Yeah, I was hoping for a less bloated solution, but it seems inevitable.
Thanks for your attention and help, guys.
 
Top