Midget1337 |
01-04-2013 10:47 AM |
كود PHP:
USE SRO_VT_SHARD DECLARE @MonsterID int DECLARE @ItemID int DECLARE @DropRatio real DECLARE @DropAmountMin int DECLARE @DropAmountMax int
set @MonsterID=(select ID from _RefObjCommon where CodeName128='MOB_CH_TIGERWOMAN') set @ItemID=(select ID from _RefObjCommon where CodeName128='ITEM_ETC_ARENA_COIN') SET @DropRatio = 1 -------- Item drop rate 1=100% , 0.3 = 30% SET @DropAmountMin = 5 -------- Amount of this item to Drop min SET @DropAmountMax = 8 -------- Amount of this item to Drop max
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, @DropAmountMin, @DropAmountMax, @DropRatio, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 , 0 , 'xxx')
|