|
|
• الانـتـسـاب » Dec 2015
|
|
• رقـم العـضـويـة » 128556
|
|
• المشـــاركـات » 1,335
|
|
• الـدولـة » 3mrany
|
|
• الـهـوايـة » Design-MySQL-C#-HTML-CSS3-WinServer-More
|
|
• اسـم الـسـيـرفـر » Aquarius
|
|
• الـجـنـس » Male
|
|
• نقـاط التقييم » 47
|
|
|
|
رد: عاوزز حد يقددرر ييعمل QUERY
شوف الموضوع ده
عفوا ,,, لايمكنك مشاهده الروابط لانك غير مسجل لدينا [ للتسجيل اضغط هنا ]
---------------------------------------------------------------------------------------
لو مش نافع جرب دى
عشان تجيب ال ID لل mob اعمل دى
كود PHP:
Use SRO_VT_SHARD select ID from _RefObjCommon where CodeName128 like 'MOB_SD_ANUBIS'
عشان تجيب ال id لل item اعمل دى
كود PHP:
Use SRO_VT_SHARD select ID from _RefObjCommon where CodeName128 like 'ITEM_CH_BOW_11_A_RARE'
طبعا هتغير الكود بعد كل ده اعمل الكوري جى و حط ال id لل mob و ال item
كود PHP:
USE SRO_VT_SHARD 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,
|