عرض مشاركة واحدة
قديم 13-01-2014, 10:41 AM   #2

che_9299





• الانـتـسـاب » Feb 2013
• رقـم العـضـويـة » 109807
• المشـــاركـات » 2,903
• الـدولـة » اسكندريه
• الـهـوايـة » برمجه
• اسـم الـسـيـرفـر » No Server
• الـجـنـس » Male
• نقـاط التقييم » 100
che_9299 جـيـدche_9299 جـيـد

che_9299 غير متواجد حالياً



افتراضي



كود:
 USE SRO_VT_SHARD -----> By-Flowushy <-----
GO

DECLARE @MonsterID int
DECLARE @ItemID int
DECLARE @DropRatio real



SET @MonsterID = 3810 -------- Mob,Unique ID you want Add Drop in
SET @DropRatio = 1 -------- Item drop rate 1=100% , 0.3 = 30% 
SET @ItemID = 24165 -------- ITEM ID You want Add in Drops


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 @MonsterID = 3810 -------- Mob,Unique ID you want Add Drop in
SET @DropRatio = 1 -------- Item drop rate 1=100% , 0.3 = 30%
SET @ItemID = 24165 -------- ITEM ID You want Add in Drops
MonsterID = ال ID بتاع الموبس اللى عايز ينزل منو الدروب
DropRatio = ده هينزل قد ايه يعنى نسبة الدروب هتبقى 100% ولا 50% براحتك بقى والشرح بتاع تظبيطها مكتوب جنبها
@ItemID = ده ID الايتم الللى عايزو ينزل دروب بتدور عليه وتجيب ال ID بتاعو
وبس




رد مع اقتباس