Jump to content
  • 0

Actual JobLevel -1 for usable value


Question

Posted (edited)

Hello, i need a way to get the current joblvl - 1 as a value.

Example: 

base/job 99/70 so 70-1=69, get 69 value for use.

base/job 57/43 so 43-1=42, get 42 value for use.

if(JobLevel == 70)  and  if(JobLevel == 43) aren't an option for my needs.

Edited by knov1991

6 answers to this question

Recommended Posts

  • 0
Posted (edited)
1 hour ago, crazyarashi said:

Basic Substraction is the answer.
value = JobLevel - 1;

I tried it, but don't found a way to set for use, i tried many ways before ask.

Sorry for my stupid questions, this is my first time making a basic script to learn.

This is an example of what im trying to do.

set .@value = JobLevel - 1;

atcommand "@skpoint .@value";

Edited by knov1991
  • 0
Posted
1 hour ago, crazyarashi said:

.@value = JobLevel -1;
useatcmd "@skpoint" + .@value;

 You should try reading out the script commands first :)) 

Thx for help, don't worked properly, but i used it to solve the problem :))

Im reading the script commands, but sometimes i don't find what i need, or i don't understand how to do...

 

 

  • 0
Posted
On 4/24/2019 at 5:34 AM, Emistry said:

avoid atcommand ... it create unnecessary log if you enabled it.


SkillPoints += (JobLevel - 1);

 

Wouldn't that as example give 69 skill points for job level 70, while he only should get one skill point per decrease?

Note: I'm not using this scripting method yet. Correct me if I'm wrong xX

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...