just add this to refObjCommon
change 36790 to Last ID in RefObjCommon + 1
change 26713 to Last Link in RefObjCommon + 1
Quote:
|
1 36790 ITEM_SILK_SCROLL_1000 ????? xxx SN_ITEM_SILK_SCROLL_1000 SN_ITEM_SILK_SCROLL_1000_TT_DESC 1 0 3 3 3 1 180000 3 0 1 1 1 255 0 1 0 0 1 0 100 0 0 0 0 0 -1 0 -1 0 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 xxx item\etc\drop_mall_scroll.bsr item\etc\silk_scroll.ddj xxx xxx 26713
|
and this to refObjItem
change 26713 to Link in RefObjCommon
Quote:
|
26713 1 2 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1000 ???? 1 ?????? -1 RESURRECT 1000 COOLTIME:0x00000000 -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx 0 0 0
|
and this to AddLogItem
change 36790 to ID in RefObjCommon
change 1000 to number of silks you want give when use scroll
Quote:
IF (@Operation = 41 AND @ItemRefID = 36790)
BEGIN
DECLARE @JID int,
@Silk int;
SET @Silk = 1000
SELECT @JID = UserJID from SRO_VT_SHARD.._User where CharID = @CharID
IF EXISTS (Select * from SRO_VT_ACCOUNT..SK_Silk where JID = @JID)
UPDATE SRO_VT_ACCOUNT..SK_Silk set silk_own = silk_own + @Silk where JID = @JID
ELSE
INSERT INTO SRO_VT_ACCOUNT..SK_Silk
SELECT @JID, @Silk, 0, 0
END
|
just add to media.pk2 client side
To give name to item textdata_object.txt
when use scroll will automatic respawn char.... Enjoy :P
about item drop just read the table in query u used
and search for item ID what u add
and u can delete that line or edit max and min drop