October 24th, 2013, 17:40
(This post was last modified: October 24th, 2013, 17:41 by I like Serena.)
Posts: 973
Threads: 20
Joined: Oct 2010
(October 24th, 2013, 17:27)Anthony Wrote: (October 24th, 2013, 16:58)I like Serena Wrote: .
I can confirm that each item has required spellbooks as property. The spellbook requirements are to create the item; are you sure they apply to finding it as well? I've seen Monster Masher, which has spellbook requirements that are actually impossible to achieve (2 sorcery, 5 death, 6 life).
Yes, I can see in the code that the spellbook requirements apply to finding the item in a lair.
However, a merchant is treated as having 12 books of each color.
Did you find Monster Masher or buy it?
--I like ILSe
October 24th, 2013, 17:50
Posts: 591
Threads: 30
Joined: Jul 2012
(October 24th, 2013, 17:40)I like Serena Wrote: Did you find Monster Masher or buy it? Pretty sure I found it, though if it's calculated based on the books of the lair rather than the wizard it could be that the lair just has lots of books.
October 24th, 2013, 18:19
Posts: 973
Threads: 20
Joined: Oct 2010
(October 24th, 2013, 17:50)Anthony Wrote: Pretty sure I found it, though if it's calculated based on the books of the lair rather than the wizard it could be that the lair just has lots of books.
The code really says that it is based on the spellbooks of the wizard that cracks the lair.
Obviously I haven't tested yet what I just found in the code...
--I like ILSe
October 24th, 2013, 18:25
Posts: 591
Threads: 30
Joined: Jul 2012
(October 24th, 2013, 18:19)I like Serena Wrote: The code really says that it is based on the spellbooks of the wizard that cracks the lair.
Obviously I haven't tested yet what I just found in the code... I'm pretty sure I've gotten items I wouldn't be able to enchant, so that test may work strangely or not at all.
October 24th, 2013, 18:33
(This post was last modified: October 24th, 2013, 18:35 by I like Serena.)
Posts: 973
Threads: 20
Joined: Oct 2010
(October 24th, 2013, 18:25)Anthony Wrote: I'm pretty sure I've gotten items I wouldn't be able to enchant, so that test may work strangely or not at all.
The numbers in the table do not match with what you need to create the item yourself.
For instance, Axe of the caster with High Prayer, is an item I have seen frequently.
It has no required spell books.
--I like ILSe
October 24th, 2013, 19:46
Posts: 591
Threads: 30
Joined: Jul 2012
Axe of the Caster might be bugged, since it's not actually an object that can be created at all (you can't put spell charges on an axe, and it confuses itemmake if you try and edit that item). Most items seem to match their requirements.
Here's a curio question: while I've never actually seen the item, World Ender has both Doom and Phantasmal. What does that do?
October 25th, 2013, 06:33
Posts: 25
Threads: 1
Joined: Oct 2013
(October 24th, 2013, 16:58)I like Serena Wrote: (October 23rd, 2013, 19:29)SpearmanD92R Wrote: If you have on-hand your lbx tool (was it yours?) that would help, link in the sticky is dead.
The LBX tool that I have at hand, is the Tweaker, which is mine.
There is a dedicated sub forum for it within this forum.
If you connect and click Show Tables, it lists all items with their properties.
For reference, I have copied and pasted the list into Excel and put it here: ITEMDATA.xls.
In the meantime, I've looked up the mechanism in the code.
I can confirm that each item has required spellbooks as property.
The excel sheet shows the required minimum number of books in each color before you can find the item in a lair.
Beyond that you get a random item picked from the 250 available items (that are not already in the game).
The last condition is that the cost of the item is between 50% and 100% of the value that was registered for the item at world creation. In 1.31 that mechanism is broken.
Btw, Implode created an LBXEXTRACT tool that mostly extracts all bitmaps from the LBX files.
It doesn't retrieve what you want though.
Since his site went down and I still have the download, I have just uploaded it for reference.
I've put it here: lbxextract1.2.zip.
Awesome. Thanks so much for your efforts ILSe. I'll need some time to process this information, but for starters I'll have a look at the bot findings through the new lenses you've provided. Again, thanks.
(October 24th, 2013, 16:23)Anthony Wrote: Looking at the section on botted magic items, I know I have seen the Helm of Trollish Might as random treasure (non-insecticide), so there may be something going on with your bot. I wonder if the color of a lair has any effects on what you can find it in.
That one and the Helm of Everlasting (2att, 2def, regen) were big question marks. I had only seen these items in the past, and couldn't remember whether I had found them in lairs or bought them. If ILSe's information is correct, the reason the bot didn't find them was clearly because I lacked the 6 nature books needed
Thanks for your testimonial though, I'll add them to possibilities.
(October 24th, 2013, 19:46)Anthony Wrote: Here's a curio question: while I've never actually seen the item, World Ender has both Doom and Phantasmal. What does that do?
doom overrides phantasmal. - Phantasmal gives the hero's attack the illusion property.
Doom halves swords but makes each one inflict damage (100 percent ToHit and no chance of damage reduction, at all, from anything).
Putting them on the same weapon was just the designers probably making this item list at 3:30am and being derp.
October 25th, 2013, 08:57
Posts: 206
Threads: 13
Joined: Apr 2012
where are the spellbook requirements for items stored? where are they moddable?
dance!
October 25th, 2013, 10:24
(This post was last modified: October 25th, 2013, 10:25 by I like Serena.)
Posts: 973
Threads: 20
Joined: Oct 2010
(October 25th, 2013, 08:57)letsdance Wrote: where are the spellbook requirements for items stored? where are they moddable?
ITEMDATA.LBX for the prefab items. ITEMPOW.LBX for the requirements of the item powers.
You can modify them directly with the tweaker.
(Hmm, did I put the required spell book property in that last version I released? Or do I still have to release it?)
--I like ILSe
October 25th, 2013, 10:40
(This post was last modified: October 25th, 2013, 11:14 by SpearmanD92R.)
Posts: 25
Threads: 1
Joined: Oct 2013
(October 25th, 2013, 10:24)I like Serena Wrote: ITEMDATA.LBX for the prefab items. ITEMPOW.LBX for the requirements of the item powers.
You can modify them directly with the tweaker.
(Hmm, did I put the required spell book property in that last version I released? Or do I still have to release it?)
It's there, but it still seems like there is more to it. As far as I can tell, you just can't get items certain properties (haste, doom, phantasmal that I can name right now) (wraithform too?) even with the required books in the shelf.
Also I have seen a few breaches of these requirements. In my save files right now I can see:
Orb of Fear (cloak of fear power) with 5 life books, 0 death
Band of Chivalry and Staff of Odin (mag Imm power) with only 4 sorcery
could these throw-ins be related to what you called "Unk37", the cost basis column on your excel sheet, in some way
maybe another possibility is that items with multiple colored powers AND/OR multiple book requirements just end up behaving weirdly
for instance the bot consistently found:
Living Bow (elemental armor) without nature books (requires 4)
it never found:
Living Sword (elemental armor, giant strength) under the same condition, or
Life Bow (elemental armor, stoning)
Just to emphasize, I'm fairly certain that if these items could have appeared, they would have appeared. The bot ran a certain set of lairs 7500 times and produced Living Bow 61 times. The chances of a particular item NOT appearing in the remaining 7439 trials, given that it had the same odds as Living Bow, are 0.000000000000000000000000413108%.
|