الموضوع: Request
عرض مشاركة واحدة
قديم 03-02-2017, 03:49 AM   #5

thedeathlist
عضو نشيك





• الانـتـسـاب » Jan 2017
• رقـم العـضـويـة » 131869
• المشـــاركـات » 99
• الـدولـة »
• الـهـوايـة »
• اسـم الـسـيـرفـر » No Server
• الـجـنـس » Male
• نقـاط التقييم » 10
thedeathlist صـاعـد

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



افتراضي رد: Request



اقتباس:
المشاركة الأصلية كتبت بواسطة Ivanovich عفوا ,,, لايمكنك مشاهده الروابط لانك غير مسجل لدينا [ للتسجيل اضغط هنا ]
كنت عايز query تحط drop لليونك بس متحدد ب عدد من الكوينس وكويرى بتمسح spot unique
شكرا مقدما
Add items to unique
استخدم الكويري دا
كود بلغة HTML:
USE SRO_VT_SHARD 
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 , @ItemID, 0, 0, @DropAmountMin, @DropAmountMax, @DropRatio, 0, 0, 0, 0, 0, 0, 0, 0,  
0, 0, 0, 0, 0, 0, 0, 0, 0 , 0 , 'xxx')