Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 06.10.2006, 19:47   #6
Luno
Архивный участник
 
Join Date: Sep 2006
Posts: 15
Default

How to add item dro drop:

Open npcdata and find row with mob you want make to drop Item.
There are two positions you should be interested in:

corpse_make_list={} for spoil
and
additional_make_multi_list={} for normal drop

Something about format:
Let's start with additional_make_multi_list.

Drop is splited into "categories" then you have:

additional_make_multi_list={cat_1;cat_2;cat_3;...; cat_n}

Where cat_X is a category that has format like that:

{{item_1;item_2;...;item_m};catRate}

where:
catRate - chance that anything will drop from that category
format of item_X is :
{[item_name];min;max;chance}
item_name - you know
min - min amount
max - max amount
chance - .... (explain below)

How server checks what mob droped:

For each category it's checking by catRate and if success, then its making next step:
All item chances in category sum to 100. Why ?
From one category you can get only ONE type of item in it. if category looks like:

{ { {[cokes];1;1;20};{[coal];1;1;80}}; 60}

Then you have 60% that anything will drop and they server checks what you get.
[1-20] - you get cokes
[21-100] - you get coal.

In spoil there is no categories.


To add item:
Best way is to add new category. If you want it to drop with 4% then:
additional_make_multi_lis={.....;{{[dualcraftstamp];1;1;100};4} }

Where ...... are old categories.
Luno is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:14.