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

مشاهدة النسخة كاملة : عايز اخلي الـ Bon Roc ينزل عدد معين من حاجة


Hamza FiGo
10-11-2013, 03:28 AM
عايز اخلي الـ Bon Roc ينزل عدد معين من السيلك او عدد معين من الارينا

يعني 10 Donate Silk زي الـ STR-INT Roc

شكرا

™Dev Microsoft™
10-11-2013, 11:13 AM
ده كويري عشان تظبط الـDrop
USE SRO_VT_SHARD -----> By-Albert <-----
GO

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



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



و عشان تجيب ID بتاع ITEM معين استخدم الكويري ده
Use SRO_VT_SHARD select ID from _RefObjCommon where CodeName128 like 'Write code item'

و عشان تجيب ID الـUNIQE ده لو مش عارفو
Use SRO_VT_SHARD select ID from _RefObjCommon where CodeName128 like 'Write UNIQ CODE'

Hamza FiGo
10-11-2013, 12:59 PM
انا متشكر جدا بس انا لسة معرفش ازاي اخلية ينزل عدد معين من السلك مثلا او الارينا

فية تحت متكتوب xxx بالاحمر. اكتب مكانها اية؟

●♥ Marwan1337 ♥●
10-11-2013, 11:38 PM
USE SRO_VT_SHARD -----> By-Flowushy <-----
GO

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



SET @MonsterID = 38212 -------- Mob,Unique ID you want Add Drop in
SET @DropRatio = 1 -------- Item drop rate 1=100% , 0.3 = 30%
SET @ItemID = 25834 -------- 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')
الـ Rate بتـاع الـ Drop..
غيــر 1 اللـى بالأحمـر ديـه للعــدد اللـى أنـت عـايـزه بقــى ..

●♥ Marwan1337 ♥●
10-11-2013, 11:38 PM
##