عرض مشاركة واحدة
قديم 20-04-2014, 04:40 PM   #7

youssefsro
عضو جديد





• الانـتـسـاب » Feb 2014
• رقـم العـضـويـة » 116396
• المشـــاركـات » 46
• الـدولـة »
• الـهـوايـة »
• اسـم الـسـيـرفـر » No Server
• الـجـنـس » Male
• نقـاط التقييم » 10
youssefsro صـاعـد

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



افتراضي شكرا Emely



تم الحل :)
كل اللى عملته

DECLARE @MonsterID int
DECLARE @ItemID int
DECLARE @DropRatio real



SET @MonsterID = ID Mobs <-------- Mob,Unique ID you want Add Drop in
SET @DropRatio = 1 <-------- Drop Ration 1=100% , 0.5 = 50%
SET @ItemID = ID Item <-------- ITEM ID You want Add in Drop
SET @ItemID = ID Item
SET @ItemID = ID Item
SET @ItemID = ID Item


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')





كررت كلمة SET @ItemID = ID Item
و اشتغلت :) شكرا Emely