Jump to content
Sign in to follow this  
xEvo7

Question About Skill Points

Recommended Posts

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 :)


Hit Like If You Like It!

Tekken-7.jpg

Share this post


Link to post
Share on other sites

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 by Sultan
  • Like 1

Share this post


Link to post
Share on other sites
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! :)


Hit Like If You Like It!

Tekken-7.jpg

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...