rodypes
11-11-2014, 10:26 PM
عايز اضيفdrop معين لى يونيك و عايز اتحكم فى ال drop rate بتاعت الايتم دى
™MaR™
11-11-2014, 11:56 PM
بص اول حاجة هتجيب code mops , او uniqes من RefObjCommon
و بتستخدم query ده و في كويري ده بتقدر تتحكم في نسبة الدروب
USE SRO_VT_SHARD_INIT
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')
™Dev Microsoft™
12-11-2014, 02:14 AM
هنا هاتلاقي اللي انت عايزو
www.silkroad4arab.com/vb/showthread.php?t=567929
rodypes
12-11-2014, 07:44 AM
هو ايه ال drop amount max and drop amounr min ?
™Dev Microsoft™
12-11-2014, 02:47 PM
ماكس يعني اكتر عدد ممكن دروب
و التانية الوقت نفسو بس بالثواني
يغلق و لو في مشاكل ابقا كلمني
$$