Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 03.06.2005, 04:46   #2
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

NPCDATA.TXT,NPC掉落物品屬性說明


開啟SCRIPT\NPCDATA.TXT,會看到如下的一æ® µ敘述:

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}}

擠在一起看不清楚,所以我們分開來çœ ‹:

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}

}

物品後面跟著的是「出現機率」,例å¦ ‚ 5.8252、xx.xx43、50
複數物品後面跟著的是「掉落機率」ï¼ Œ例如 0.1514

有沒有發現有沒有發現第二類與第三é¡ ž物品數量出現機率總合都是100?
5.8252 + xx.xx43 + 5.8252 + 5.8253 = 100
50 + 50 = 100

因此代表殺死這支怪物會掉落
1.adena
2.long_sword、sword_of_reflexion、sword_of_refle xion_blade、sword_of_watershadow
3.animal_skin、animal_bone
這三大類物品

掉落第一類物品的機率是70
掉落第二類物品的機率是0.1514
掉落第三類物品的機率是7.9964

以數量最多的第二類為例,如果剛好 0.1514 的機率掉落第二類物品,其中
有 5.8252 的機率會出現 long_sword
有 5.8252 的機率會出現 sword_of_reflexion
有 xx.xx43 的機率會出現 sword_of_reflexion_blade
有 5.8253 機率會出現sword_of_watershadow

所以要改物品掉落機率,應該依照需è¦ �來修改「掉落機率」並且調整「出現æ ©Ÿ率」
Digital 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 01:02.