_Ziad_ |
23-06-2013 10:59 PM |
ظبط ال دروب بل Query دى تجيب ال ID بتاع ال موب و تكتبه فل Query دى و بعدين Excute
كود PHP:
USE SRO_VT_SHARD_INIT 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')
بالنسبه لو عاوز تجيب ال ID بتاع ال موب بل Query دى
كود PHP:
Use SRO_VT_SHARD select ID from _RefObjCommon where CodeName128 like 'MOB_SD_ANUBIS'
جيب كود ال موب و حطو بدل MOB_SD_ANBIS
|