مشاهدة النسخة كاملة : سوال فى كويرى ال add drop to mob
rodypes
13-11-2014, 02:06 PM
فيه تلت حاجات واحدة اسمها drop amount min and drop amount max and drop ratio دولت بتوع ايه انا عايز ان الكوين ايلى انا هضيفو لى الموب ده ينزل منو 1 كوين كل 5 موبس يعنى كل 5 موب ينزل 1 كوين. اكتب فيهم ايه عشان اضبط الحكاية دي
™MaR™
13-11-2014, 03:07 PM
Use This Query
USE SRO_VT_SHARD (To Silkroad4arab) ----->.-----> (MaR) <-----.<-----
GO
DECLARE @MonsterID int
DECLARE @ItemID int
DECLARE @DropRatio real
SET @MonsterID = 3810 <-------- The mob or the unique ID
SET @DropRatio = 0.2 <-------- Drop rate , 1=100% , 0.5=50% , 0.2=20%
SET @ItemID = 24165 <-------- ITEM ID u want to add in the 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')
انا ظبتهولك
ahmed mohmed
14-11-2014, 06:59 AM
Use This Query
USE SRO_VT_SHARD (To Silkroad4arab) ----->.-----> (MaR) <-----.<-----
GO
DECLARE @MonsterID int
DECLARE @ItemID int
DECLARE @DropRatio real
SET @MonsterID = 3810 <-------- The mob or the unique ID
SET @DropRatio = 0.2 <-------- Drop rate , 1=100% , 0.5=50% , 0.2=20%
SET @ItemID = 24165 <-------- ITEM ID u want to add in the 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')
انا ظبتهولك
لو سمحت الكويرى دا هيخلى الكوين يقع من انهى موبس وهضيفه على كدا بس ولا عهدل حاجة فى الميديا ؟
™MaR™
15-11-2014, 01:18 AM
لو سمحت الكويرى دا هيخلى الكوين يقع من انهى موبس وهضيفه على كدا بس ولا عهدل حاجة فى الميديا ؟
لا هتجيب كود الوحوش او اليونيك و تحط كود بتاعه في الكويري هنا SET @MonsterID
و ده كويري اللي بيجبلك كود اليونيك او الوحش
Use SRO_VT_SHARD select ID from _RefObjCommon where CodeName128 like 'MOB_TQ_WHITESNAKE'
و لو عايز تجيب كود الايتيم استخدم كويري ده
Use SRO_VT_SHARD select ID from _RefObjCommon where CodeName128 like 'ITEM_CH_SHIELD_11_A_RARE'
و حوط id الايتيم هنا SET @ItemID
و بس كدة من غير ميديا ولا اي حاجة .
يغلق
ليك موضوعين فى اليوم
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions, Inc