iubantot Posted June 27, 2017 Posted June 27, 2017 Hello rAthena! So im having troubles about job checks. so i want to check what job the character is? for ex : check if the character is 3rd job (whether it is regular,trans or baby) i tried to use one by one adding their class numbers each but i would like to have a better one if there is any open to suggestions! thank youuuuuuuuuuuu rAthena!! Quote
0 Cyro Posted June 27, 2017 Posted June 27, 2017 @eac = eaclass(); if ((@eac&EAJ_BASEMASK) == EAJ_SWORDMAN) mes "Your base job is Swordman."; if (@eac&EAJL_UPPER) mes "You are a rebirth job."; 1 Quote
0 Cyro Posted June 27, 2017 Posted June 27, 2017 you can check it here https://github.com/rathena/rathena/blob/master/doc/ea_job_system.txt EAJL_UPPER EAJL_BABY EAJL_THIRD 1 Quote
0 iubantot Posted June 27, 2017 Author Posted June 27, 2017 4 hours ago, Cyro said: you can check it here https://github.com/rathena/rathena/blob/master/doc/ea_job_system.txt EAJL_UPPER EAJL_BABY EAJL_THIRD so how do i check if the character is 3rd job (whether it is regular,trans or baby) ex : if(@eac&EAJL_THIRD) is not working for me Quote
0 Keitenai Posted June 28, 2017 Posted June 28, 2017 prontera,155,175,2 script 3rd Job Check 754,{ @eac = eaclass(); if(@eac&EAJL_THIRD){ @atcommand "@die"; dispbottom "3rd Job confirmed"; } end; } Quote
Question
iubantot
Hello rAthena!
So im having troubles about job checks.
so i want to check what job the character is?
for ex :
check if the character is 3rd job (whether it is regular,trans or baby)
i tried to use one by one adding their class numbers each but i would like to have a better one if there is any
open to suggestions! thank youuuuuuuuuuuu rAthena!!


4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.