Jump to content
  • 0

[Solved]"Leveling with experience"[/Solved]


Pneuma

Question


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  846
  • Reputation:   138
  • Joined:  02/26/14
  • Last Seen:  

So I'm trying to make a profession system and Instead of doing a variable based level, I actually have skills. I plan to have them level up by doing things with the professions. The main issue I have right now is figuring out how to use arrays to set a "required amount of XP"

//Player Starts at Lv1
setarray $@RequiredExp[0],
250,750,1500,2500,3700,5100,6700,8500,10500;

The way the above exp works is Players are already level 1 in profession; They need 250 experience to hit level 2, 500 to hit level 3 and so on.
My issue is is how do I make it so once they hit the required experience, it switches to the next array?
 
Also, How would I run the command "skill" to get the current skill level and +1
kinda like...?

skill 3040,getskilllv(3040)+1,4;

Thanks to Sandbox, I was able to get what I needed.



 

Edited by Pneuma
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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...