مشاهدة النسخة كاملة : كيفية اضافة coin معين Drop from Unique
World
12-07-2013, 05:47 AM
كيفية اضافة coin معين Drop from Unique
عايز اخلي ال unique Drop coin معلشي هتعبكم
Alber Maher
12-07-2013, 06:26 AM
اول حاجة لزم تجيب ال ID بتاع الموب او الايتم . و هتجبوا من الكورى ده :
Use SRO_VT_SHARD
select ID from _RefObjCommon where CodeName128 like 'MOB_CH_TIGERWOMAN'
و ده الكورى بيتاع الضروب :
USE SRO_VT_SHARD
GO
DECLARE @MonsterID int
DECLARE @ItemID int
DECLARE @DropRatio real
SET @MonsterID = 24160 -- You can find Monster ID's at RefObjCommon
SET @DropRatio = 0.5 -- 100% = 1 / 50% = 0.5 / 0% = 0 of course
SET @ItemID = 35773 -- You can find Item ID's at RefObjCommon
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')
و بكدا مبروك عليك :lulu13:
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 <-------- 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')
وده علشان تعرف id الوحش
Use Sro_vt_shard select ID from _RefObjCommon where CodeName128 like 'MOB_RM_ROC'
وده علشان تجيب id الايتم
Use SRO_VT_SHARD select ID from _RefObjCommon where CodeName128 like 'ITEM_CH_TBLADE_11_SET_A_RARE'
World
12-07-2013, 06:41 AM
طب و لو عايز عدد معين مثلأ 2 Coin من ال Lord اعمل اية ؟
GoldMonkey
12-07-2013, 07:03 AM
طب و لو عايز عدد معين مثلأ 2 Coin من ال Lord اعمل اية ؟
اعمل الـ Query مرتين
PlayMaker1337
08-01-2019, 11:46 PM
:Emoji4::Emoji4:
gamalnasser1
08-10-2019, 02:38 AM
##
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions, Inc