![]() |
ازاى اعمل Unique ينزل كذة حاجة
انا عايز اخلى Unique ينزل كل ال Egy B D11 weapon
مش عارف ازاى ؟ ممكن مساعدة لو سمحتم انا جربت كويرى بس خلاه Drop سلاح واحد بس |
نفس اللى هتعملو مع سلاح تعملو مع التنين Drop Unique كود PHP:
والكويرى ده علشان تجيب ID الموب كود PHP:
والكويرى ده علشان تجيب ID الايتم كود PHP:
|
طيب ممكن حضرتك تيجى تيم و تضبطهالى اصل انا مش بفهم اوى فى تظبيط ال Drop :(
|
اقتباس:
اوك مفيش مشكله انا فى الخدمه ^^ |
:ban: انا بردو عندي نفس المشكلة :)
|
حضرتكم مش هتعملو حاجه زياده غير انك فى كل كويرى هتغير ال ID بتاع الايتم لنفس الموبس وخلاص
|
شكرا Emely
تم الحل :)
كل اللى عملته DECLARE @MonsterID int DECLARE @ItemID int DECLARE @DropRatio real SET @MonsterID = ID Mobs <-------- Mob,Unique ID you want Add Drop in SET @DropRatio = 1 <-------- Drop Ration 1=100% , 0.5 = 50% SET @ItemID = ID Item <-------- ITEM ID You want Add in Drop SET @ItemID = ID Item SET @ItemID = ID Item SET @ItemID = ID Item 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') كررت كلمة SET @ItemID = ID Item و اشتغلت :) شكرا Emely |
الساعة الآن 10:08 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions, Inc.