الموقع العربي الاول للعبة Silkroad Online

الموقع العربي الاول للعبة Silkroad Online (https://silkroad4arab.com/vb/index.php)
-   قسم الاسئلة و الاستفسارات لعمل السيرفرات الخاصة (https://silkroad4arab.com/vb/forumdisplay.php?f=226)
-   -   Add Drop items to mobs (https://silkroad4arab.com/vb/showthread.php?t=624082)

Dark_Legend 27-05-2018 02:40 AM

Add Drop items to mobs
 
لو عايز اضيف كل الايتم ال EGY A في موبس معين بحيث يقع كل الايتم من الموبس بس بنسبه مش عاليه
زي النوفا كده مثلا

اعملها ازاي ؟!!

stafherp 27-05-2018 02:51 AM

رد: Add Drop items to mobs
 
USE SRO_VT_SHARD -----> ( MaDenGo ) <-----
GO

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



SET @MonsterID = 3810 <-------- Mob,Unique ID you want Add Drop in
SET @DropRatio = 1 <-------- Drop Ration 1=100% , 0.5 = 50%
SET @ItemID = 24165 <-------- 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') وهتجيب رقم الايتم من هنا
Use SRO_VT_SHARD select ID from _RefObjCommon where CodeName128 like 'ITEM_CH_TBLADE_11_SET_A_RARE'
وهنا اليونك Use Sro_vt_shard select ID from _RefObjCommon where CodeName128 like 'MOB_RM_ROC'

Dark_Legend 27-05-2018 03:01 AM

رد: Add Drop items to mobs
 
انا عارف الطريقه دي
بس اكيد انا مش هقعد اضيف كده في كل وحش كل الايتمز

يعني مثلا لو هضيف في كل موبس بغداد مثلا هيبقي لازم اضيف في كل الموبس يتوع بغداد كل وحش اضيف فيه كل الايتم وكمان ممكن يوقع كل الايتم مره واحده
فا اكيد الموضوع مش كدا اكيد في طريقه تانيه اسهل!


الساعة الآن 09:50 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions, Inc.