Jump to content
  • 0

Edit job changer.


kelvin

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  07/14/13
  • Last Seen:  

if (select(" ~ Change into ^0055FF"+jobname(.@i)+"^000000 class: ~ ^777777"+((getargcount() > 1)?"Go back":"Cancel")+"^000000") == 1) {
   if (.@i==4211 || .@i==4212 || .@i==4215) resetlvl(1);
   mes "[Job Master]";
   mes "You are now "+A_An(jobname(.@i))+"!";
   if (.@i==4001 && .LastJob) set lastJob, Class;
   jobchange .@i;
   if (.@i==4001 || .@i==4023) resetlvl(1);
   specialeffect2 338; specialeffect2 432;
   if (.Platinum) callsub Get_Platinum;
   close;
  }
  if (getargcount() == 1) return;
  mes "[Job Master]";
}
end;
}

 

how can i make this script reset base lvl to lvl 1 and reset stats point to lvl 1 point without effect last job skill. i have set this and it reset all to novice stats.    if (.@i==4211 || .@i==4212 || .@i==4215) resetlvl(1);

Edited by Patskie
Change to code
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Refer :

*resetlvl <action type>;

This is a character reset command, meant mostly for rebirth script supporting
Advanced jobs, which will reset the invoking character's stats and level
depending on the action type given. Valid action types are:

 1 - Base level 1, Job level 1, 0 skill points, 0 base exp, 0 job exp, wipes the
     status effects (only the ones settable by 'setoption'), sets all stats to 1.
     If the new job is 'Novice High', give 100 status points, give First Aid and
     Play Dead skills.
 2 - Base level 1, Job level 1, 0 skill points, 0 base exp, 0 job exp.
     Skills and attribute values are not altered.
 3 - Base level 1, base exp 0. Nothing else is changed.
 4 - Job level 1, job exp 0. Nothing else is changed.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  07/14/13
  • Last Seen:  

thanks patskie

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