elaarab
02-01-2013, 12:27 AM
انا عايز احط فى اليونكات بتاعت الجوبيتر كلها ايتم دجرى 13 كلها يوقع الدجرى 13 بس
ممكن حد يساعدنى فى ده
weloveahmed
02-01-2013, 12:31 AM
USE SRO_VT_SHARD
GO
DECLARE @MonsterID int
DECLARE @ItemID int
DECLARE @DropRatio real
SET @MonsterID = 24082 -- You can find Monster ID's at RefObjCommon
SET @DropRatio = 0.00004 -- 100% = 1 / 50% = 0.5 / 0% = 0 of course
SET @ItemID = 3851 -- You can find Item ID's at RefObjCommon
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')
elaarab
02-01-2013, 12:46 AM
اولا شكرا على مساعدتك
بس ده على ما اظن فى يونك واحد و ايتم واحده انا عايز اعمل فى كل اليونك الى فى الجوبيتر و كل الايتم الدجرى 13
nesrelshark
02-01-2013, 06:11 AM
الquery ده انت غير ID mobs and item يعنى جامع كل ال ID فى ملف txt وى عملهم add فى query الى موجود ده وى لو عيز تفهم اكتر ابعتلى الياهو بتاعك فى رساله وعرفك تعمل ايه
elaarab
02-01-2013, 05:00 PM
يعنى اكرر الجز ده اكتر من مره
set @monsterid = 24082 -- you can find monster id's at refobjcommon
set @dropratio = 0.00004 -- 100% = 1 / 50% = 0.5 / 0% = 0 of course
set @itemid = 3851 -- you can find item id's at refobjcommon