Jump to content
  • 0

Saving stat and skill builds


Frunckie

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  1
  • Reputation:   0
  • Joined:  06/14/12
  • Last Seen:  

I'm trying to make an npc which lets you save your current stat and skill build into slots, so you can then quickly change between builds by loading them directly from it. I've never done any rAthena scripts and I'm completely new to this so I was hoping you could help me.

First up, could I use something like this to get your skill build and save it into permanent character variables or am I getting this wrong?

getskilllist;
for( set @i, 0; @skilllist_count > @i; set @i, @i + 1 ){
set skills_id[@i],@skilllist_id[@i];
set skills_lv[@i],@skilllist_lv[@i];
}

I was looking around on the wiki and I couldn't find any functions to get/set stat points nor to set skill levels either (only get). Help?

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