الموضوع: drop item
عرض مشاركة واحدة
قديم 07-04-2014, 06:35 PM   #11

Hero
عضو مشارك



الصورة الرمزية Hero


• الانـتـسـاب » Jan 2014
• رقـم العـضـويـة » 116050
• المشـــاركـات » 7,017
• الـدولـة » Egypt
• الـهـوايـة » ;"#string n = "C
• اسـم الـسـيـرفـر » No Server
• الـجـنـس » Male
• نقـاط التقييم » 85
Hero جـيـد

Hero غير متواجد حالياً



افتراضي



كود PHP:
USE SRO_VT_SHARD_INIT -----> By-Flowushy <----- ------> Updated by Luuk <------ 
GO  

DECLARE @MonsterID int  
DECLARE @ItemID int  
DECLARE @DropRatio real 
DECLARE @DropAmountMin int  
DECLARE @DropAmountMax int 


SET 
@MonsterID 1954    -------- Mob,Unique ID you want Add Drop in  
SET 
@DropRatio 1        -------- Item drop rate 1=100% , 0.3 30%   
SET @ItemID 25834        -------- ITEM ID You want Add in Drops  
SET 
@DropAmountMin 10    -------- Amount of this item to Drop min 
SET 
@DropAmountMax 50    -------- Amount of this item to Drop max 



INSERT _RefMonster_AssignedItemDrop   
(  
RefMonsterID,  
RefItemID,  
DropGroupType,  
OptLevel,  
DropAmountMin,  
DropAmountMax,  
DropRatio,  
RefMagicOptionID1,  
CustomValue1,  
RefMagicOptionID2,  
CustomValue2,  
RefMagicOptionID3,  
CustomValue3,  
RefMagicOptionID4,  
CustomValue4,  
RefMagicOptionID5,  
CustomValue5,  
RefMagicOptionID6,  
CustomValue6,  
RefMagicOptionID7,  
CustomValue7,  
RefMagicOptionID8,  
CustomValue8,  
RefMagicOptionID9,  
CustomValue9,  
RentCodeName  
)   
VALUES(@MonsterID , @ItemID00, @DropAmountMin, @DropAmountMax, @DropRatio00000000,  
00000000'xxx'
شوف كدة




رد مع اقتباس