As a French person I feel like it's my duty to explain strikes to you. - AdrienIer

Create an account  

 
Magic items added in Treasure

I can confirm that the CP does indeed cast create item and create artifact in 1.40n. Saw it with Detect Magic.
Reply

(October 27th, 2013, 11:13)I like Serena Wrote: Seeing that the least frequent item was found 24 times, and that these 9 were not found at all.
It looks as if this result should be statistically impossible.
Or those 9 items were actually given to computer players and thus weren't available.
Reply

(October 27th, 2013, 11:13)I like Serena Wrote: Impressive that you could verify all that.
How does your bot work?
Thanks. It's really rough and basic. It doesn't inject dlls or anything; it is just an autohotkey loop that checks and reacts to onscreen pixel colors to actually play through the game and reload etc. After stashing the item, it saves the game, grabs the info on the item from the hex data in the save file, and appends it to a text.

Using your tweaker I just cranked the number of spellbooks up to 12 in every color, like a Merchant. It might have some funny results to report tomorrow.

(October 27th, 2013, 14:32)Anthony Wrote:
(October 27th, 2013, 11:13)I like Serena Wrote: Seeing that the least frequent item was found 24 times, and that these 9 were not found at all.
It looks as if this result should be statistically impossible.
Or those 9 items were actually given to computer players and thus weren't available.
It's an idea. I just checked though, and no items appear to be in use anywhere else on the map. I don't have a better idea, either. I always thought this had something to do with way the game prepares a random seed, but it could be anything.
Reply

(October 27th, 2013, 13:24)shirts Wrote: I can confirm that the CP does indeed cast create item and create artifact in 1.40n. Saw it with Detect Magic.

Good!

(October 27th, 2013, 14:52)SpearmanD92R Wrote: Thanks. It's really rough and basic. It doesn't inject dlls or anything; it is just an autohotkey loop that checks and reacts to onscreen pixel colors to actually play through the game and reload etc. After stashing the item, it saves the game, grabs the info on the item from the hex data in the save file, and appends it to a text.

Using your tweaker I just cranked the number of spellbooks up to 12 in every color, like a Merchant. It might have some funny results to report tomorrow.

I'm really curious to see what comes out.


Quote:
(October 27th, 2013, 14:32)Anthony Wrote: Or those 9 items were actually given to computer players and thus weren't available.
It's an idea. I just checked though, and no items appear to be in use anywhere else on the map. I don't have a better idea, either. I always thought this had something to do with way the game prepares a random seed, but it could be anything.

Good point.
It doesn't mean they are still somewhere on the map, since they are typically recycled.
The save game also contains an array of 250 bytes with 0 and 1 indicating whether a prefab item has ever entered the game.

In the tweaker you can see which items are registered as "in use".
For instance in the table with itemdata properties, I have added the rightmost column "InGame" which indicates if a prefab item has ever made its appearance.
Note that apart from that, there is also a table of items that are actually on the map somewhere in the game.
--I like ILSe
Reply

Pretty much everything was found this time— this settles the relationship between books and lair treasure I think.

If I can draw your attention down to the bottom of the list, note all the usual suspects from the first trial (like "shield of eros" and "light mail shirt") failed to appear. I would guess that they'd start showing up again in a different game or maybe even a different lair, because i've seen them all before ofc. Also the items with merging predictably remained absent.

But finally I got things like haste, phantasmal, chaos, and regen to drop. Check it out.

I want to ask you ILSe, you're certain the spellbook requirements given by your ITEMDATA.xls are correct? I looked in the LBX file, so I think I can see where these values are coming from, but it's just that they're weird in 1.31. No item requires a Death spellbook. Only 13 items require nature books. Something like the "shield of transformation" (wraithform, magic immunity) - it requires 5 sorcery and 4 chaos books. If this is true, no wonder the item mechanics are a disaster.

Results from 5935 Lairs, wizard has 12 ranks in every color
Code:
ItemName                      Powers                                                      #found
------------------------------------------------------------------------------------------------
White Lightning               Lightning                                                   59*
White Lightning               Lightning                                                   59*
Monster Masher                Vampiric, Resist Magic, True Sight                          49
Sword of Mallana                                                                          46
The Resistor                  Resist Elements, Resist Magic                               46*
The Resistor                                                                              46*
Mauler                                                                                    44
Living Sword                  Elemental Armour, Giant Strength                            42
Stoning Sword                 Stoning                                                     40
Plate Mail of Diversity                                                                   40
Helm of Trollish Might        Regeneration                                                40
Dragon Slayer                 Flaming                                                     39
Ultimate Defense              Elemental Armour, Magic Imm, Holy Avenger                   38
The Defender                  Destruction                                                 38
Shield of Evasion                                                                         36
Gauntlet of Eastwood                                                                      35
Maul of Bathory               Vampiric, Elemental Armour, Haste                           35
Deathbringer                  Death                                                       34
Staff Of Magic Mastery                                                                    34
Edge of the Elements          Resist Elements                                             34
The Devils Instrument         Lightning, Magic Imm                                        34
Wand of the Mind                                                                          34
Shield of Brooke                                                                          34
Elvish Longbow                Resist Magic, Flaming                                       33
Sword of Mephisto             Chaos, Holy Avenger                                         32
Flaming Axe                   Flaming                                                     32
Staff of Superiority          Chaos, Phantasmal                                           32
Plate Mail of Movement                                                                    32
Sting                         Lightning                                                   32
Shield of Quatis                                                                          32
Idspispopd                                                                                32
Mae Govannon                  Lightning                                                   32
Fangs Avenger                 Vampiric                                                    31
Whirlwind                     Giant Strength                                              31
Fist of Destruction           Destruction, Death                                          31
Gideons Harp                  Magic Imm                                                   31
Zlotakian Staff of Magic      Resist Elements, Chaos, Resist Magic, Power Drain           31
Sword of Renfield             Vampiric, Giant Strength                                    31
Sword of Stealth              True Sight                                                  30
Axe of the Caster                                                                         30
Hells Bolt                    Flaming                                                     30
Plate of Immunity             Magic Imm                                                   30
Mail of Pobox                 Elemental Armour                                            30
Staff of the Constellation    Destruction, Power Drain                                    30
Wand of Arcanus               Water Walking                                               29
Devils Eye of Fear            Cloak Of Fear                                               29
Shield of Enduring Fear       Cloak Of Fear, Endurance                                    29
Plate of Omnipotence          Wraith Form, Magic Imm, Invulnerability                     29
Chain of Magical Health                                                                   29
The Peacemaker                Magic Imm, Power Drain                                      29
Golden Axe of Rath            Giant Strength                                              29
Black Asp                     Resist Elements                                             28
Skull Smasher                                                                             28
Axe of Light                  Elemental Armour, Magic Imm, Holy Avenger                   28
Wand of Enhancement           Water Walking                                               28
Mithril Mail of Talos         Bless, Invulnerability                                      28
Merlins Nails                 Power Drain                                                 28
Wand of Lesser Might                                                                      28
The Mighty Wand of Zod                                                                    28
Axe of Severe Pain                                                                        28
Golden Staff of Sharee                                                                    28
Helm of Everlasting           Regeneration                                                28
Zir Daun                                                                                  28
Bird of Paradise              Magic Imm, Giant Strength, Righteousness, Invulnerability   28
Gem of the Aerie              Guardian Wind, Cloak Of Fear                                28
Morphains Friend              Elemental Armour, Stoning, Magic Imm                        27
Axe of Haste                  Haste, Magic Imm                                            27
The Destructor                Magic Imm, Power Drain                                      27
Wand of Immunity              Water Walking                                               27
Bane Blade                                                                                27
Thors Hammer                  Lightning, Holy Avenger                                     27
Bow of the Golden Horde       Stoning                                                     27
Ray of Light                  Haste, Resist Magic                                         27
The Deathstorm                                                                            27
The Pummeler                  Destruction                                                 27
Mithril Chainmail                                                                         27
Armor of the Warrior          Righteousness                                               27
Joshuas Sword                                                                             27
The Telecaster                                                                            27
Purple Rain of Death          Death                                                       27
Blood Plate of Lucifer        Bless                                                       27
Bracer of Mrad                                                                            27
Staff of Odin                 Magic Imm                                                   27
Dracken Mace                  Magic Imm, Power Drain                                      26
Chaotic Staff of Fire         Chaos, Flaming                                              26
Orb of Righteous Sight        True Sight, Righteousness                                   26
Chain Mail of Movement                                                                    26
Chain Mail of Endurance       Endurance                                                   26
Plate Mail of Defense                                                                     26
Right Hand 0f Justice         Holy Avenger                                                26
The Ossifier                  Stoning                                                     26
Flaming Sword of Death        Flaming                                                     26
Shield of Speed                                                                           26
The Wind Shield               Guardian Wind                                               26
Chain of Tyrolia                                                                          26
Elvish Scalemail                                                                          26
Wand of the Grey Wizard       Magic Imm, Power Drain, Planar Travel                       26
Staff Of Confusion            Destruction, Elemental Armour, Planar Travel                25
Wand of the Guardian          Guardian Wind, Destruction, Stoning                         25
Magical Crystal of Power      Wraith Form, Magic Imm, True Sight, Invulnerability         25
Chain Mail of Resistance                                                                  25
The Hartshone                 Elemental Armour, Stoning                                   25
Wand of Infinite Magic                                                                    25
Bloodmail                     Elemental Armour                                            25
The Revenge of Orculs                                                                     25
The Archer                                                                                25
Giddeons Plate                Endurance                                                   25
Suit of Power                 Endurance                                                   25
Disc of Advancement                                                                       25
Mace of Disintegration        Destruction                                                 25
The Scarlet Bow                                                                           25
Storm Mace                    Lightning, Flaming                                          24
The Beheader                                                                              24
Mithril Longbow               Resist Magic                                                24
Bow of Hazard                 Destruction, Flaming                                        24
Flaming Staff                 Flaming                                                     24
Staff of Pain                 Lightning                                                   24
The Branch of Magic                                                                       24
Wand of Fiery Death           Water Walking, Flaming                                      24
Amulet of Battle                                                                          24
Trinket of Strength           Giant Strength                                              24
Shield of Demos                                                                           24
Supreme Shield of Death       Wraith Form, Invulnerability                                24
Chain of Super Resistance     Resist Elements, Resist Magic                               24
Righteous Plate of Evasion    Righteousness                                               24
Plate of Enduring Immunity    Endurance, Magic Imm                                        24
Vlads Impaler                 Vampiric                                                    24
Intimidator                                                                               24
Club of Chaos                 Chaos                                                       24
Wand of Ultimate Might                                                                    24
Shield of the Fool                                                                        24
Shield of the Gods            Invulnerability                                             24
The Axe of Uncaring                                                                       24
The Kick Axe                  Haste, Giant Strength                                       24
Wand of the Beast                                                                         24
Crossbow of Power                                                                         24
Freyas Friend                 Holy Avenger, Power Drain                                   24
Sword of Medusa               Stoning, Flaming                                            24
World Ender                   Destruction, Chaos, Phantasmal                              23
Axe of Chaotic Death          Chaos, Death                                                23
Axe of Stone                  Stoning                                                     23
Amulet of Resistance          Resist Elements                                             23
Chain Mail of Defense                                                                     23
Chain Mail of Immunity        Magic Imm                                                   23
Plate Mail of Resistance                                                                  23
Hand of God                   Haste, Holy Avenger                                         23
Tree Tamer                    Death, Giant Strength                                       23
Shield of the Wraith          Wraith Form                                                 23
Cannes Mace                                                                               23
Pin of Health                                                                             23
Jafars Orb of Sight           True Sight                                                  23
Holy Shield                   Righteousness                                               23
Ehr Rhee                                                                                  23
Lor Goth                      Resist Elements                                             23
The Inquisition                                                                           23
White Flicker                 Chaos                                                       23
Vampiric Vanquisher           Vampiric                                                    23
Gabriels Axe                  Holy Avenger, Phantasmal                                    23
Bow of Magic Immunity         Elemental Armour, Magic Imm                                 22
Band of Chivalry              Magic Imm                                                   22
Cross of Blessed Death        Bless, Invulnerability                                      22
Shield of Guardian Defense    Guardian Wind                                               22
Blessed Mail of Resistance    Resist Magic, Bless                                         22
Plate of Divine Protection    Guardian Wind, Invulnerability                              22
Blade of Blood                Vampiric, Lightning, Haste, Phantasmal                      22
Ring of Dasmiff               Flight                                                      22
Shield of Thiron              Elemental Armour                                            22
Chainmail of Speed            Endurance                                                   22
Raindancer                    Resist Elements                                             22
Hacker                                                                                    21
Wand of Balmoth               Magic Imm                                                   21
Shield of the Undead          Wraith Form                                                 21
Inquisitor                    Holy Avenger                                                21
The Protector                 Guardian Wind, Elemental Armour                             21
The Wand of Glenda            Guardian Wind                                               21
Cloak of Armor                                                                            21
Silvermail                    Guardian Wind                                               21
Jans Hammer                                                                               21
Elemental Staff of Nature     Elemental Armour                                            21
Helm of the Tides             Water Walking                                               21
Plate of the Elements         Resist Elements                                             21
Uhl Dover                                                                                 21
Theodores Liberator                                                                       21
Peppermace of Gates                                                                       21
Axe of Vivisection                                                                        21
Sword of Pendulum             Vampiric, Lightning, Phantasmal, Power Drain                21
Orc Smasher                   Destruction, Chaos, Phantasmal                              20
The Undertaker                Death                                                       20
The Mangler                                                                               20
Stick of the Mage             Stoning                                                     20
Guardian Staff                Guardian Wind                                               20
Shield of Elements            Elemental Armour                                            20
Shield of Transformation      Wraith Form, Magic Imm                                      20
Chain Mail of Absorbtion      Invulnerability                                             20
Elemental Transformation      Wraith Form, Elemental Armour                               20
Great Sword of Arkanna        Elemental Armour, Resist Magic, Power Drain                 20
Word of God                                                                               20
Orb of Fear                   Cloak Of Fear                                               20
Sword of Cannae                                                                           20
Irons Mace                                                                                20
Axe of the Apostles           Holy Avenger                                                20
Wand of the Mage                                                                          20
Laik Kenegul                  Resist Magic, Giant Strength                                20
Phantastic Axe                Destruction, Chaos, Phantasmal                              19
Blessed Shield of Defense     Bless                                                       19
Double Axe of Pain            Flaming                                                     19
Executioners Friend                                                                       19
The Conjurers Friend                                                                      19
Bracer of Invulnerability     Invulnerability                                             19
Mail of Arcanus                                                                           19
Kraken Wand                   Death                                                       19
Little Flicker                Destruction, Flaming                                        19
The Regulator                                                                             18
Silver Shortbow               Lightning                                                   18
Wand of Elros                 Water Walking                                               18
Wand of Doom                  Destruction, Death, Magic Imm, Phantasmal                   18
Chain Mail of Balance                                                                     18
Plate Mail of Blessed Fear    Cloak Of Fear, Bless                                        18
Sword of Immunity             Magic Imm                                                   18
Planar Staff                  Planar Travel                                               18
Power Axe                     Giant Strength                                              17
Life Bow                      Elemental Armour, Stoning                                   17
Ring of Power                                                                             17
Amulet of Lesser Shielding                                                                17
Morthogs Chainmail                                                                        17
Chainmail of the Elements     Resist Elements                                             17
Wraithe Shirt                 Wraith Form, Resist Magic                                   17
Ziggmunds Armor               Bless, Righteousness                                        17
Ring of the Mad Mage          Magic Imm, Invulnerability                                  17
The Master Crossbow           Destruction, Chaos, Phantasmal, Power Drain                 16
Knight Chopper                Vampiric                                                    16
Plate of Ultimax              Invulnerability                                             16
Vans Shield                                                                               16
Shield of Ultimate Defense    Resist Elements, Resist Magic                               16
Living Bow                    Elemental Armour                                            15
Elven Ring of Health                                                                      15
Uhl Khakhaas                                                                              15
The Traveller                 Planar Travel                                               14
Pummel Mace                                                                               0
Shield of Eros                                                                            0
The Enlightener                                                                           0
Staff of Horus                                                                            0
Champions Platemail                                                                       0
Bow of The Dervish                                                                        0
The Great Wand                Merging                                                     0
Protection of Ramses          Cloak Of Fear, Endurance                                    0
Plate of Eandor                                                                           0
Orions Belt                                                                               0
Tammas Staff of Negation      Magic Imm, Power Drain, Planar Travel, Merging              0
Light Mail Shirt                                                                          0
* White Lightning is the name of both a staff and sword. The Resistor is the name of both a shield and axe. They didn't get tallied separately.
Reply

Oh, a question if I were planning on tweaking enchanting to add more variety: does anyone know whether it would cause bugs for a character to have more than one item with spell charges? (i.e. adding spell charges to the misc category or something).
Reply

(October 28th, 2013, 09:33)SpearmanD92R Wrote: But finally I got things like haste, phantasmal, chaos, and regen to drop. Check it out.

Interestingly, the item that is the most difficult to find, Monster Masher, appears at the top of your list.
Ah well, I expect it to be coincidence.

Quote:I want to ask you ILSe, you're certain the spellbook requirements given by your ITEMDATA.xls are correct? I looked in the LBX file, so I think I can see where these values are coming from, but it's just that they're weird in 1.31. No item requires a Death spellbook. Only 13 items require nature books. Something like the "shield of transformation" (wraithform, magic immunity) - it requires 5 sorcery and 4 chaos books. If this is true, no wonder the item mechanics are a disaster.

Quite sure.
It took me the longest time to figure out what these extra numbers in ITEMDATA.LBX meant.
It's only in the last release of the Tweaker (a couple of months ago) that I had tentatively added them.
Indeed - they look so weird.
Actually, when Anthony remarked they matched the powers exactly, that should have tipped me off immediately. Ah well.
Now that I have so thoroughly analyzed the code, I'm sure.

I think it might be intentional they are so weird.
It means you can find items that you cannot make yourself.
And won't find too many items that you can make yourself anyway.
For instance, a Life wizard can find all items with death specials.
But a Death wizard won't find any items with life specials.
Could be intended...

With the changes made in Insecticide, finding items has become quite bland.
You can only find cheap items that you can easily make yourself.
Where is the fun in that?
I think it should be reverted.
Kyrub never intended Insecticide to change a feature - only to fix bugs.
Seems to me he inadvertently "fixed" this when it shouldn't be.

(October 28th, 2013, 12:22)Anthony Wrote: Oh, a question if I were planning on tweaking enchanting to add more variety: does anyone know whether it would cause bugs for a character to have more than one item with spell charges? (i.e. adding spell charges to the misc category or something).

I seem to recall I've had 2 items with a spell, both showing up in my spell book as being an Item.
So I think it works.
--I like ILSe
Reply

(October 28th, 2013, 13:08)I like Serena Wrote: I think it might be intentional they are so weird.
It means you can find items that you cannot make yourself.
And won't find too many items that you can make yourself anyway.
For instance, a Life wizard can find all items with death specials.
But a Death wizard won't find any items with life specials.
Could be intended...

With the changes made in Insecticide, finding items has become quite bland.
You can only find cheap items that you can easily make yourself.
Where is the fun in that?
I think it should be reverted.
Kyrub never intended Insecticide to change a feature - only to fix bugs.
Seems to me he inadvertently "fixed" this when it shouldn't be.

You know, I was thinking something like that this morning when compiling the results for display here, but to have it articulated like this, it does end up making sense. I don't know whether the screwy book requirements were intentional (I doubt they were, considering the total lack of Death books), but the unpredictability can be a great effect.

I'm really glad you walked me through this stuff and I hope the effort could prove useful for insecticide and the tweaker. Looking forward to that.


(October 28th, 2013, 12:22)Anthony Wrote: Oh, a question if I were planning on tweaking enchanting to add more variety: does anyone know whether it would cause bugs for a character to have more than one item with spell charges? (i.e. adding spell charges to the misc category or something).
I doubt that of itself would cause bugs. But spell charges only show up through the weapon slot. You can add spell charges to a Misc when casting Create Artifact in 1.31, but you'd have to mod the game data to get the spell charge to work.
Reply

(October 26th, 2013, 08:38)I like Serena Wrote: In Insecticide 1.40n we can make a "fix".
Currently wizards.exe:8da06 contains 7Ch.
Change it into EBh and you'll drop the requirement that an item in a lair or from the merchant must be non-special.
(This won't work in v1.31.)

I'm going to try this now.

I have checked that my "fix" for Insecticide works.
You still won't find the most powerful items, since lairs never have items of value over 2500.
But any item up to a cost of 2500 can be found now.
That leaves 41 items cannot be found in a lair, but they can come from a merchant or from the gods.
--I like ILSe
Reply

Here is some silliness that popped in a verified "failed special". Selection of items was really limited. Ranked in order of mana cost, because it almost looks like a limit to the cost is applying here. I really have no idea how he failed specials are resolved... bbviously, it's using the book requirements plus some extra restriction.

Changed the books to 7 chaos 6 life with Tweaker, which would in theory still allow 206 items to show up.

Results from 1616 "Failed Specials", 7 Chaos 6 Life
Code:
ItemName                      Mana    N  S  C  L  D       Count
---------------------------------------------------------------
Plate Mail of Diversity       1200                        28
Mae Govannon                  1200             5          23
Wand of the Mage              1200                        22
Plate of the Elements         1200             2          18
Peppermace of Gates           1150                        27
Right Hand 0f Justice         1150             3          25
Devils Eye of Fear            1150             2          22
Living Sword                  1100          4  3          46
Kraken Wand                   1100          3             33
Shield of Elements            1100          4             28
Skull Smasher                 1100                        24
Armor of the Warrior          1100             4          22
The Hartshone                 1050          4  2          39
The Archer                    1050                        30
Blessed Mail of Resistance    1050          2  2          29
Wand of Fiery Death           1050             2          28
Shield of Quatis              1050                        20
Sword of Stealth              1000          6             42
Giddeons Plate                1000             2          30
Irons Mace                    1000                        27
Gauntlet of Eastwood          1000                        23
Elvish Longbow                1000             2          17
Wand of Elros                 1000             2          17
Cloak of Armor                950                         25
Plate Mail of Movement        950                         21
Amulet of Resistance          950              2          20
Hacker                        900                         31
Wand of Enhancement           900              2          30
Mithril Chainmail             900                         27
The Regulator                 900                         24
Elemental Staff of Nature     900           4             24
Uhl Khakhaas                  900                         19
Crossbow of Power             900                         19
Wand of Infinite Magic        900                         16
Mauler                        850                         37
Axe of Vivisection            850                         35
Wand of the Mind              850                         31
Wand of Lesser Might          850                         29
Blessed Shield of Defense     850           2             27
Chain Mail of Balance         850                         27
Jafars Orb of Sight           850              6          24
Laik Kenegul                  850           3  2          23
Vans Shield                   850                         17
Bane Blade                    800                         25
Staff Of Magic Mastery        800                         24
Lor Goth                      800              2          15
The Enlightener               800                         14
Flaming Axe                   750                         31
Sword of Medusa               750              2          30
Mithril Longbow               750           2             28
Wand of Arcanus               750           2             16
Plate of Eandor               700                         36
The Beheader                  700                         27
Ehr Rhee                      700                         27
Plate Mail of Resistance      700                         22
Joshuas Sword                 700                         18
Uhl Dover                     650                         30
Chain of Tyrolia              650                         14
Shield of Speed               600                         33
Pin of Health                 600                         30
Idspispopd                    600                         30
Shield of Eros                600                         25
Chain Mail of Movement        600                         15

The 143 items that would have showed up for this wizard in a normal lair, but failed in the above test
Code:
Black Asp                     250           4             0
Sword of Mallana              200                         0
Dragon Slayer                 500                         0
Sword of Mephisto             2900          6  3          0
White Lightning               2200          5             0
Stoning Sword                 1550          2             0
Pummel Mace                   550                         0
Storm Mace                    1600             5          0
Dracken Mace                  2300          4  5          0
Fangs Avenger                 2100             5          0
Axe of the Caster             1700                        0
Silver Shortbow               2700             5          0
Bow of Hazard                 2950             5          0
The Undertaker                1500          3             0
Life Bow                      1750          4  2          0
The Mangler                   400                         0
Stick of the Mage             1500             2          0
Flaming Staff                 1650                        0
Chaotic Staff of Fire         3050             6          0
The Destructor                3900          4  5          0
Staff of Pain                 3100          5             0
The Branch of Magic           250                         0
White Lightning               1450             5          0
Wand of Balmoth               1600             5          0
Elven Ring of Health          150                         0
Amulet of Battle              350                         0
Ring of Power                 550                         0
Band of Chivalry              1400             5          0
Trinket of Strength           1600             3          0
Orb of Righteous Sight        1950          6  4          0
Cross of Blessed Death        2600          2  5          0
Shield of Demos               200                         0
Shield of Evasion             400                         0
Shield of Guardian Defense    1450             3          0
Shield of Enduring Fear       1650          2  2          0
Shield of the Undead          2300          4             0
Supreme Shield of Death       4100          4  5          0
Chain Mail of Defense         250                         0
Chain Mail of Resistance      400                         0
Chain Mail of Endurance       1300          2             0
Chain Mail of Immunity        1650             5          0
Chain Mail of Absorbtion      1950          5             0
Chain of Super Resistance     2000          2  2          0
Mithril Mail of Talos         3100          2  5          0
Plate Mail of Defense         400                         0
Plate Mail of Blessed Fear    1250          2  2          0
Righteous Plate of Evasion    1500             4          0
Plate of Enduring Immunity    1750          5  2          0
Elemental Transformation      2150          4  4          0
Sword of Immunity             2050             5          0
Sting                         2350             5          0
Vlads Impaler                 2350             5          0
Merlins Nails                 1250             4          0
Intimidator                   1600                        0
Whirlwind                     1750             3          0
Thors Hammer                  2950          5  3          0
Club of Chaos                 2650             6          0
Edge of the Elements          1400             2          0
Double Axe of Pain            1750                        0
Executioners Friend           1700                        0
Inquisitor                    1900             3          0
Hells Bolt                    1400                        0
Bow of the Golden Horde       1400             2          0
Ray of Light                  2400          7  2          0
Gideons Harp                  1650             5          0
The Deathstorm                1400                        0
The Devils Instrument         1900          5  5          0
The Traveller                 1500          5             0
Staff of Horus                3200                        0
The Pummeler                  2750             5          0
Word of God                   1650                        0
The Protector                 1750          4  3          0
The Ossifier                  1350             2          0
The Mighty Wand of Zod        1250                        0
The Wand of Glenda            1450             3          0
Wand of Ultimate Might        2700                        0
Amulet of Lesser Shielding    400                         0
Ring of Dasmiff               1350             3          0
Orb of Fear                   1550             2          0
Helm of Trollish Might        2650             6          0
Shield of the Fool            300                         0
Shield of the Wraith          1600          4             0
Shield of the Gods            1900             5          0
Chain of Magical Health       300                         0
Morthogs Chainmail            500                         0
Chainmail of Speed            1800             2          0
Chainmail of the Elements     1950             2          0
Champions Platemail           500                         0
Bloodmail                     1300             4          0
Silvermail                    1400             3          0
Plate of Ultimax              2000             5          0
Sword of Cannae               200                         0
Flaming Sword of Death        550                         0
The Revenge of Orculs         1700                        0
The Defender                  2700             5          0
Cannes Mace                   200                         0
Jans Hammer                   1700                        0
Axe of Severe Pain            150                         0
The Axe of Uncaring           300                         0
Axe of the Apostles           2200          3             0
The Peacemaker                2150          4  5          0
The Telecaster                1350                        0
Bow of The Dervish            2150                        0
Planar Staff                  1350             5          0
Golden Staff of Sharee        1750                        0
Purple Rain of Death          2150             3          0
The Conjurers Friend          450                         0
Wand of the Beast             3050                        0
Bracer of Invulnerability     1450          5             0
Helm of Everlasting           1750          6             0
Helm of the Tides             2100             2          0
Shield of Brooke              1850                        0
The Wind Shield               2200             3          0
Holy Shield                   3000             4          0
Mail of Arcanus               300                         0
Plate of Immunity             3150             5          0
Golden Axe of Rath            2400             3          0
Suit of Power                 2900             2          0
Elvish Scalemail              300                         0
Zir Daun                      150                         0
Mail of Pobox                 1400             4          0
Protection of Ramses          2100          2  2          0
Theodores Liberator           9100                        0
The Inquisition               1700                        0
White Flicker                 4300             6          0
Staff of the Constellation    2300          5  4          0
The Resistor                  1900                        0
Blood Plate of Lucifer        1550             2          0
Disc of Advancement           2500                        0
Little Flicker                1900             5          0
Freyas Friend                 1350          4  3          0
Vampiric Vanquisher           2450             5          0
Orions Belt                   550                         0
Bracer of Mrad                1950                        0
Ring of the Mad Mage          3100          5  5          0
Gabriels Axe                  3700          3  6          0
Shield of Ultimate Defense    2000          2  2          0
Sword of Renfield             1400          5  3          0
Staff of Odin                 4000             5          0
Gem of the Aerie              1800          3  2          0
The Scarlet Bow               500                         0
Raindancer                    1300             2          0
Light Mail Shirt              500                         0

=======================
Addendum

Okayyyyyy, just referred back to ILSe's post:
(October 26th, 2013, 07:12)I like Serena Wrote: Investigated some more and there is more.

Here's the table how the function that selects a prefab item is called.
Code:
Source                     Type     Spellbooks       Value

Event gift of the gods     2        Receiver         0
Merchant                   0        12-12-12-12-12   0
Lair v1.31    registered-item-value Receiver         0
Lair v1.40n                0        Receiver         registered-item-value
Lair failed special        0        Receiver         1200
AI casts enchant item      1        Receiver         1000
AI casts create artifact   2        Receiver         30000

The algorithm (v1.31) is:
Code:
find_item(type, spellbooks, value):

try 50 times or until found
    select randomly from the 250 prefab items
    if (item in game)                  try again
    if (not enough spellbooks)         try again
    if (type = 1 AND special item*)    try again
    if (type = 2 AND NOT special item) try again
    if (value != 0 AND (item cost < value / 2 OR item cost > value)) try again
if (no item found)
    generate an item with random powers

And now, I'm pretty sure that these results satisfy the constraints. Great work again, ILSe.

Now I need to go back over last week's data, where I saw a lot of expensive items coming from what I could have sworn was a "failed special". Maybe I was wrong about it or something...
Reply



Forum Jump: