المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : ازاى اعمل Unique ينزل كذة حاجة


youssefsro
17-04-2014, 06:46 PM
انا عايز اخلى Unique ينزل كل ال Egy B D11 weapon
مش عارف ازاى ؟ ممكن مساعدة لو سمحتم
انا جربت كويرى بس خلاه Drop سلاح واحد بس

Emely
17-04-2014, 08:08 PM
نفس اللى هتعملو مع سلاح تعملو مع التنين




Drop Unique




USE SRO_VT_SHARD -----> ( Emely ) <-----
GO

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


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


__________________________________________________ ______________________________

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

ID الموب



Use Sro_vt_shard select ID from _RefObjCommon where CodeName128 like 'Code Unq'

__________________________________________________ _______________________________

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



Use SRO_VT_SHARD select ID from _RefObjCommon where CodeName128 like 'Code Item'

youssefsro
17-04-2014, 08:25 PM
طيب ممكن حضرتك تيجى تيم و تضبطهالى اصل انا مش بفهم اوى فى تظبيط ال Drop :(

Emely
17-04-2014, 09:30 PM
طيب ممكن حضرتك تيجى تيم و تضبطهالى اصل انا مش بفهم اوى فى تظبيط ال Drop :(


اوك مفيش مشكله

انا فى الخدمه ^^

MaDo Rafik
17-04-2014, 11:39 PM
:ban: انا بردو عندي نفس المشكلة :)

che_9299
17-04-2014, 11:46 PM
حضرتكم مش هتعملو حاجه زياده غير انك فى كل كويرى هتغير ال ID بتاع الايتم لنفس الموبس وخلاص

youssefsro
20-04-2014, 04:40 PM
تم الحل :)
كل اللى عملته

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