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

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 24062    -------- Mob,Unique ID you want Add Drop in 
SET 
@DropRatio 1        -------- Item drop rate 1=100% , 0.3 30%  
SET @ItemID 24670        -------- ITEM ID You want Add in Drops 
SET 
@DropAmountMin 5    -------- Amount of this item to Drop min
SET 
@DropAmountMax 8    -------- 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'




رد مع اقتباس