dodolove2888 |
05-12-2012 02:25 AM |
استخدم ال Query ده
كود PHP:
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')
ودة علشان تجيب ID الموب
كود PHP:
Use SRO_VT_SHARD_INIT select ID from _RefObjCommon where CodeName128 like 'MOB_RM_ROC'
ودة علشان تجيب Code ال Item
كود PHP:
USE [SRO_VT_SHARD]
GO
SELECT [Service]
,[ID]
,[CodeName128]
FROM [dbo].[_RefObjCommon]
WHERE (CodeName128 LIKE 'ITEM_EU_TSTAFF_13_C_RARE')
|