the first post is.. very self explanatory, i don't think anyone would have trouple understand them :P
NPCDATA.TXT,NPC drops tutorial
open SCRIPT\NPCDATA.TXT,you can see the following:
additional_make_multi_list={{{{[adena];99;159;100}};70};{{{[long_sword];1;1;5.8252};{[sword_of_reflexion];1;1;5.8252};{[sword_of_reflexion_blade];1;1;xx.xx43};{[sword_of_watershadow];1;1;5.8253}};0.1514};{{{[animal_skin];1;1;50};{[animal_bone];1;1;50}};7.9964}}
reformat the code to...:
additional_make_multi_list={
{{
{[adena];99;159;100}
};70};
{{
{[long_sword];1;1;5.8252};
{[sword_of_reflexion];1;1;5.8252};
{[sword_of_reflexion_blade];1;1;xx.xx43};
{[sword_of_watershadow];1;1;5.8253}
};0.1514};
{{
{[animal_skin];1;1;50};
{[animal_bone];1;1;50}
};7.9964}
}
the value after [name],min. drop #,max. drop #, is the drop rate for the items inside a category, like: 5.8252、xx.xx43、50
and the probablity of the /catagory/ to be dropped is the rates like: 0.1514, 7.9964...
the rates inside a category adds up to 100%.
5.8252 + xx.xx43 + 5.8252 + 5.8253 = 100
50 + 50 = 100
this means, that if the mob dies, it would drop the following:
1.adena
2.long_sword、sword_of_reflexion、sword_of_refle xion_blade、sword_of_watershadow
3.animal_skin、animal_bone
70% chance it would drop the first category items (adena only)
0.1514% chance it would drop the 2nd category items (the swords and sword blades)
7.9964% chance it would drop the 3rd category items (skins/bones)
use the example of 2nd category,for 0.1514% the chance the mob is dropping the 2nd category, you would get:
long_sword (5.8252% chance of getting it)
sword_of_reflexion (5.8252% chance of getting it)
sword_of_reflexion_blade (xx.xx43% chance of getting it)
sword_of_watershadow (5.8254% chance of getting it)
therefore to modify the drop rate of a certain item, it is necessary to modify both the "item drop rate" and the "category drop rate"
|