View Single Post
Old 06.04.2006, 11:40   #9
Vikruolis
Архивный участник
 
Join Date: Apr 2006
Posts: 4
Default

additional_make_multi_list={{{{[adena];7;10;100}};70}}
70% chance to get adena block drop;
Minimal count of adena will be 7, maximum count will be 10;
If adena block is selected it is 100% to get adena drop.

better example would be this one:
additional_make_multi_list={{{{[adena];99;159;100}};70};{{{[bone_breastplate];1;1;xx.xx24};{[bone_gaiters];1;1;xx.xx76};{[tights_shirt];1;1;xx.xx24};{[tights_pants];1;1;xx.xx76}};0.3071};{{{[animal_skin];1;1;50};{[animal_bone];1;1;50}};7.9964}}

Lets look simple:
Code:
{
  {
    { 
       {[adena];99;159;100}
    };
    70
  };
  {
    {
       {[bone_breastplate];1;1;xx.xx24};
       {[bone_gaiters];1;1;xx.xx76};
       {[tights_shirt];1;1;xx.xx24};
       {[tights_pants];1;1;xx.xx76}
     };
     0.3071
  };
  {
    {
      {[animal_skin];1;1;50};
      {[animal_bone];1;1;50}
     };
     7.9964
   }
}
So there are 3 blocks:
In first only adena, second some shirts and etc., last one skins/bones.
Each block has some probablity number.
Adena = 70%
Shirt = 0.3071%
Skins/bones = 7.9964%
This means the probablity that one item from block will be droped.

Lets analyse shirt block:
{[bone_breastplate];1;1;xx.xx24};
{[bone_gaiters];1;1;xx.xx76};
{[tights_shirt];1;1;xx.xx24};
{[tights_pants];1;1;xx.xx76}

it is made like this:
[internal item name];minimal drop count;maximum drop count;drop probablity in block;

So if for shirt block probability succeseded than it is:
xx.xx24% to drop bone_breastplate
xx.xx76 to drop bone_gaiters
xx.xx24 to drop tights_shirt
xx.xx76 to drop tights_pants
but only one of these items. It works like selection which item to drop.
Final probability is for example for bone_breastplate is:
xx.xx24 * 0.3071 = 5.90934 %
Vikruolis is offline