xEvo7 65 Report post Posted June 30, 2016 Is there any Way to increase the maximum skill points you receive per level? example you level up to lv5 and you earned 5 skill pts. is it possible to make it 10 skill pts? if yes. how? where is it located? Thanks in advance Quote Hit Like If You Like It! Share this post Link to post Share on other sites
Sultan 68 Report post Posted June 30, 2016 (edited) Go to AttrCalculate.lua and find this function: BsAttrUpgrade Inside the function all way down you will find this: local lv = GetChaAttr ( role , ATTR_LV ) if ( math.floor ( ( lv ) / 10 ) - math.floor ( ( lv - 1 ) / 10 ) ) == 1 then -- Each 10 lvs player will get 5 stats points, otherwise, only 1 ap_extre = 5 else ap_extre = 1 end if lv >= 60 then -- Each lv (from lv 60) player will get 2 stats points ap_extre = ap_extre + 1 end attr_ap = attr_ap + ap_extre SetCharaAttr( attr_ap, role, ATTR_AP ) if lv > 9 then -- Only players above lv 9 will get skill points tp_extre = 1 end if lv >= 65 then if ( math.floor ( ( lv ) / 5 ) - math.floor ( ( lv - 1 ) / 5 ) ) == 1 then -- Each 5 lvs (from lv 65) player will get 2 skill points, otherwise, only 1 tp_extre = 2 else tp_extre = 1 end end attr_tp = attr_tp + tp_extre --[[+1点技能点数]]-- SetCharaAttr( attr_tp, role, ATTR_TP ) Notes: "tp_extre" is for skill points / "ap_extre" is for stat points, do some adding / modification & testing you will get it working =D In case you wanted to change the max limit for skill points / stat points, go to Init_Attr.lua & edit these: SetChaAttrMax( ATTR_AP , 300 ) -- Attribute points SetChaAttrMax( ATTR_TP , 200 ) -- Skill points Edited June 30, 2016 by Sultan 1 Quote Share this post Link to post Share on other sites
xEvo7 65 Report post Posted June 30, 2016 9 minutes ago, Sultan said: Go to AttrCalculate.lua and find this function: BsAttrUpgrade Inside the function all way down you will find this: local lv = GetChaAttr ( role , ATTR_LV ) if ( math.floor ( ( lv ) / 10 ) - math.floor ( ( lv - 1 ) / 10 ) ) == 1 then -- Each 10 lvs player will get 5 stats points, otherwise, only 1 ap_extre = 5 else ap_extre = 1 end if lv >= 60 then -- Each lv (from lv 60) player will get 2 stats points ap_extre = ap_extre + 1 end attr_ap = attr_ap + ap_extre SetCharaAttr( attr_ap, role, ATTR_AP ) if lv > 9 then -- Only players above lv 9 will get skill points tp_extre = 1 end if lv >= 65 then if ( math.floor ( ( lv ) / 5 ) - math.floor ( ( lv - 1 ) / 5 ) ) == 1 then -- Each 5 lvs (from lv 65) player will get 2 skill points, otherwise, only 1 tp_extre = 2 else tp_extre = 1 end end attr_tp = attr_tp + tp_extre --[[+1点技能点数]]-- SetCharaAttr( attr_tp, role, ATTR_TP ) Notes: "tp_extre" is for skill points / "ap_extre" is for stat points, do some adding / modification & testing you will get it working =D In case you wanted to change the max limit for skill points / stat points, go to Init_Attr.lua & edit these: SetChaAttrMax( ATTR_AP , 300 ) -- Attribute points SetChaAttrMax( ATTR_TP , 200 ) -- Skill points Perfect! Thank you! Quote Hit Like If You Like It! Share this post Link to post Share on other sites