Item Generation question
#16
Apologises all around.

Quote:Thanks for the information, but please keep in mind that many of the posters even here have never seen the contents of the MPQ file to know what you are referring to at times. You may occasionally need to explain some fo the basics of what you are referencing.

Yea, I'm used to doing that over at the PK forums (and in my own personal notes, wich I often just copy from when posting)... use all sorts of lingo and abbrevations from the mpq files with no worries. That habit tends to stick at other forums.

Quote:You were not very clear, but I take it that a single item will only get one modifier of +1, 0, -1, -2 that is applied to all of the skills that are placed on the item? Or is that factor re-randomised for each skill on the item.

From my original post:

Quote:Above 36: 5
Between 24 and 36: 4
Between 18 and 24: 3
Between 18 and 11: 2
11 or lower: 1

This the becomes a base for all the skill ids.

This is a static value, and when the following modifications are done it applies only to the current skill_adder.

Quote:20% chance to add 1
50% chance to stay unmodified
20% chance to subtract 1
10% chance to subtract 2

One thing that I dont think i mentioned before; the above value is capped at 4 if the item is low quality.
Then throws it into the formula.

Quote:What did the code do in the case of selecting the same skill a second (or third time)? Reroll the skill or add with a cap of +3? I suspect reroll.

And reroll it is... sorta. It will do the same as if it had chosen Poison Dagger, add another rnd[5] at the end. And just to be clear, it will not replace the previous rnd[5], but add it to the result.

OT: How does one add a name after the 'Quote' text? Ie. QUOTE (Ruvanal) [text to quote]
Reply


Messages In This Thread
Item Generation question - by Dagni - 06-11-2003, 10:03 PM
Item Generation question - by Brista - 06-12-2003, 01:44 AM
Item Generation question - by Dagni - 06-12-2003, 05:29 AM
Item Generation question - by Brista - 06-12-2003, 05:50 AM
Item Generation question - by Dagni - 06-12-2003, 11:11 AM
Item Generation question - by Brista - 06-12-2003, 06:32 PM
Item Generation question - by Hammerman - 06-12-2003, 09:14 PM
Item Generation question - by Dagni - 06-12-2003, 10:17 PM
Item Generation question - by Hammerman - 06-12-2003, 10:50 PM
Item Generation question - by Brista - 06-12-2003, 10:56 PM
Item Generation question - by Hammerman - 06-12-2003, 11:08 PM
Item Generation question - by Ruvanal - 06-13-2003, 03:16 AM
Item Generation question - by Brista - 06-13-2003, 08:57 PM
Item Generation question - by Dagni - 06-14-2003, 01:01 AM
Item Generation question - by Ruvanal - 06-14-2003, 04:32 AM
Item Generation question - by Hammerman - 06-15-2003, 10:25 PM
Item Generation question - by Ruvanal - 06-16-2003, 02:16 AM
Item Generation question - by Dagni - 06-16-2003, 04:32 AM
Item Generation question - by Epi - 07-25-2003, 03:36 AM
Item Generation question - by Dagni - 07-25-2003, 04:51 AM
Item Generation question - by Jarulf - 07-25-2003, 10:58 AM
Item Generation question - by ala5 - 08-13-2004, 09:00 AM
Item Generation question - by lfd - 08-13-2004, 10:05 AM
Item Generation question - by ala5 - 08-16-2004, 02:18 AM
Item Generation question - by ala5 - 08-16-2004, 08:24 AM
Item Generation question - by TimDaD - 08-18-2004, 08:34 AM
Item Generation question - by gta-maloy] - 08-18-2004, 09:28 AM
Item Generation question - by TimDaD - 08-18-2004, 12:13 PM
Item Generation question - by gta-maloy] - 08-18-2004, 01:40 PM
Item Generation question - by adeyke - 08-18-2004, 01:58 PM
Item Generation question - by TimDaD - 08-18-2004, 04:00 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)