|
• الانـتـسـاب » Dec 2008
|
• رقـم العـضـويـة » 44547
|
• المشـــاركـات » 1,690
|
• الـدولـة » الاسكنديه
|
• الـهـوايـة » php
|
• اسـم الـسـيـرفـر » Norma
|
• الـجـنـس » Male
|
• نقـاط التقييم » 23
|
|
|
1-
كود PHP:
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')
2- عايز تغير drop rate من item معين ؟ تجيب الid بتاع ال item و تحطو مكان RefItemID و عاندك ال Drop rate تحطوا زي ما انتا عايز
كود PHP:
use SRO_VT_SHARD -----> 7oDa <-----
UPDATE _RefMonster_AssignedItemDrop
set RefItemID DropRatio = 0.004
where = 7101
3- عفوا ,,, لايمكنك مشاهده الروابط لانك غير مسجل لدينا [ للتسجيل اضغط هنا ]
|