الموضوع: how to add unique reward
عرض مشاركة واحدة
قديم 04-06-2014, 03:14 AM   #2

xXx_MaN_xXx
عضو مجتهد



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


• الانـتـسـاب » Jan 2011
• رقـم العـضـويـة » 78968
• المشـــاركـات » 140
• الـدولـة » Cairo,3abdeeN
• الـهـوايـة »
• اسـم الـسـيـرفـر »
• الـجـنـس »
• نقـاط التقييم » 10
xXx_MaN_xXx صـاعـد

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



افتراضي



كود:
SET @MonsterID = 3810 -------- Mob,Unique ID you want Add Drop in
SET @DropRatio = 1 -------- Item drop rate 1=100% , 0.3 = 30% 
SET @ItemID = 24165 -------- ITEM ID You want Add in Drops


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, 1, 1, @DropRatio, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0 , 0 , 'xxx')

عشان تجيب الاى دى بتاع اليونيك او الموب

كود:
 Use SRO_VT_SHARD select ID from _RefObjCommon where CodeName128 like 'MOB_SD_ANUBIS'


توقيع xXx_MaN_xXx :


Love Me


رد مع اقتباس