Jump to content
  • 0

How to add a bonus of stat points at certain lvl?


busterdemon

Question


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  93
  • Reputation:   1
  • Joined:  06/01/12
  • Last Seen:  

How to add a bonus of stat points at certain lvl? like example add 32k bonus at lvl 1000?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  69
  • Reputation:   10
  • Joined:  05/14/12
  • Last Seen:  

If you want it to ADD stats then it should look like this.

-<TAB>script<TAB>StatBonus<TAB>-1,{
OnNPCKillEvent:
if ( BaseLevel >= 1000 ) {
statusup2 bStr, 32000;
statusup2 bAgi, 32000;
statusup2 bVit, 32000;
statusup2 bInt, 32000;
statusup2 bDex, 32000;
statusup2 bLuk, 32000;
}
end;
}

If you want it to SET their stats...

-<TAB>script<TAB>StatBonus<TAB>-1,{
OnNPCKillEvent:
if ( BaseLevel >= 1000 ) {
set bStr, 32000;
set bAgi, 32000;
set bVit, 32000;
set bInt, 32000;
set bDex, 32000;
set bLuk, 32000;
}
end;
}

PS: Highest stat you can get before it resets is around 32,250.

Edited by _Dynosawr_
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  93
  • Reputation:   1
  • Joined:  06/01/12
  • Last Seen:  

is this a script? where do I edit this??

Link to comment
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
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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.

×
×
  • Create New...