need fix bug scroll reset stat
some player make bug with scroll reset stat
go attack mobs and use scroll reset stat will add new stat with old stat int / str
i need fix this bug or make this scroll work in town only
this my Procedure
this refskill
some player make bug with scroll reset stat
go attack mobs and use scroll reset stat will add new stat with old stat int / str
i need fix this bug or make this scroll work in town only
this my Procedure
Code:
if(@JobID = '34137')
begin
declare [MENTION=314361]strength[/MENTION] int
declare [MENTION=5100626]Intellect[/MENTION] int
declare [MENTION=1017443]maxlevel[/MENTION] int
declare [MENTION=3093238]remains[/MENTION]tatPoint int
select [MENTION=1017443]maxlevel[/MENTION] = MaxLevel from _Char where CharID = [MENTION=395373]Chari[/MENTION]D
set [MENTION=3093238]remains[/MENTION]tatPoint = [MENTION=1017443]maxlevel[/MENTION]*3)-3
set [MENTION=1017443]maxlevel[/MENTION] = [MENTION=1017443]maxlevel[/MENTION]+19
UPDATE _Char SET Strength [MENTION=1017443]maxlevel[/MENTION], Intellect [MENTION=1017443]maxlevel[/MENTION], RemainStatPoint [MENTION=3093238]remains[/MENTION]tatPoint WHERE CharID [MENTION=395373]Chari[/MENTION]D
return -3
end
Code:
1 34137 1061 SKILL_MALL_STATS_POINT_RECALL_A ???? ???? SKILL_MALL_STATS_POINT_RECALL_A 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\recall_skills_point_scroll.ddj SN_ITEM__MALL_STATS_POINT_RECALL_A xxx SN_ITEM_MALL_STATS_POINT_RECALL_A_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