Quote:
Originally Posted by Freaky Ratbuster
hello epvp
like thread says scroll remove pk From Char i hope it helps
RefObjCommon
PHP Code:
1 43605 ITEM_MALL_PKREMOVER ???? ???? ??? (???) xxx SN_ITEM_MALL_PKREMOVER SN_ITEM_MALL_PKREMOVER_TT_DESC 1 0 3 3 13 14 180000 3 0 1 1 1 255 0 1 0 0 129 0 0 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 Premium\etc\pkremover.ddj xxx xxx 22005
RefObjItem
PHP Code:
22005 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 [USU1:SKILL_MALL_PKREMOVER] -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 -1 xxx -1 xxx 0 0 0
RefSkill
PHP Code:
1 34005 1013 SKILL_MALL_PKREMOVER ???? ???? SKILL_MALL_PKREMOVER 0 1 1 0 0 0 0 0 1000 0 0 0 3599 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 3 0 0 255 255 0 0 0 0 0 255 255 255 255 item\etc\mall_optlevel_upgrade_scroll_1.ddj SN_SKILL_MALL_PKREMOVER xxx SN_SKILL_MALL_PKREMOVER_TT_DESC xxx 0 0 3 1667396966 1851946342 1685418593 1500 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
Procedure >> _TimedJob
PHP Code:
if(@JobID = '34005') -- Pk Remover
begin
Update _Char Set DailyPK = 0 Where CharID = @CharID
Update _Char Set TotalPK = 0 Where CharID = @CharID
Update _Char Set PKPenaltyPoint = 0 Where CharID = @CharID
return -3
end
if it helps just click thanks
|
Have you even tested this, before releasing it?
The first thing you are mistaken is the wrong procedure. _TimedJob is a table, not a procedure, _AddTimedJob is the correct one.
Also, item usage > skill trigger and a forced DC might not be that appealing to anyone.
And in the end, more effort, more stuff, for a process, which can be handled with a single item usage instead. No skill linking required.