Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

More stat points


beer12
 Share

Recommended Posts

this is a scripted addition, so you would simply chage the section of your main.txt in your servers script files where it adds 1 styat point to add 2 or more.

this is an example of a changed player leveling up sub that adds 5 per level

> Sub PlayerLevelUp(Index)
> Dim TotalExp
>
> Do While GetPlayerExp(Index) >= GetPlayerNextLevel(Index)
> TotalExp = GetPlayerExp(Index) - GetPlayerNextLevel(Index)
> Call SetPlayerLevel(Index, GetPlayerLevel(Index) + 5)
>
> Call SetPlayerPOINTS(Index, GetPlayerPOINTS(Index) + 5)
> Call SetPlayerExp(Index, TotalExp)
> Loop
>
> Call BattleMsg(Index, "You have " & GetPlayerPOINTS(Index) & " stat points.", BRIGHTBLUE, 0)
> End Sub
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...