Jump to content

Question

Posted

hello everyone i have a problem in scripting specially in changing novice and 1st jobs characters into 3rd job suits.
when i wear the suit in novice and first job such as "Archer, Magician, Thief, Acolyte, Swordsman and Merchant  i got the error in the image below


heres the script:

if(Class == 4008){ skill "RK_DRAGONTRAINING",5; }else if(Class == 10 || Class == 4011 || Class == 4033){ skill "NC_MADOLICENCE",5; }else if(Class == 4012){ skill "RA_WUGMASTERY",1; skill "RA_WUGRIDER",3; }

changebase roclass(eaclass()|EAJL_THIRD);

 

changebase Class

 

 

error.PNG

2 answers to this question

Recommended Posts

  • 0
Posted

Because you're trying put Third Class in classes who doesn't have Third Class (Novice, and First Classes).

you need put a condition when classes like Swordman doesn't affect when equips.

There you go:

 

2301,Cotton_Shirt,Cotton Shirt,4,10,,100,,1,,4,0xFFFFFFFF,63,2,16,,0,1,0,{ if(Class == 4008){ skill "RK_DRAGONTRAINING",5; } else if (Class == 10 || Class == 4011 || Class == 4033 ){ skill "NC_MADOLICENCE",5; }else if(Class == 4012){ skill "RA_WUGMASTERY",1; skill "RA_WUGRIDER",3; } },{ if ( BaseClass==Job_Novice || BaseClass==Job_Summoner || BaseClass==Job_Taekwon || BaseClass==Job_Gunslinger || BaseClass==Job_Ninja || BaseJob==Job_Swordman || BaseJob==Job_Mage || BaseJob==Job_Archer || BaseJob==Job_Merchant || BaseJob==Job_Thief || BaseJob==Job_Acolyte ) end; changebase roclass(eaclass()|EAJL_THIRD); },{ changebase Class; }

 

  • 0
Posted (edited)
5 hours ago, EIysium said:

Because you're trying put Third Class in classes who doesn't have Third Class (Novice, and First Classes).

you need put a condition when classes like Swordman doesn't affect when equips.

There you go:

 


2301,Cotton_Shirt,Cotton Shirt,4,10,,100,,1,,4,0xFFFFFFFF,63,2,16,,0,1,0,{ if(Class == 4008){ skill "RK_DRAGONTRAINING",5; } else if (Class == 10 || Class == 4011 || Class == 4033 ){ skill "NC_MADOLICENCE",5; }else if(Class == 4012){ skill "RA_WUGMASTERY",1; skill "RA_WUGRIDER",3; } },{ if ( BaseClass==Job_Novice || BaseClass==Job_Summoner || BaseClass==Job_Taekwon || BaseClass==Job_Gunslinger || BaseClass==Job_Ninja || BaseJob==Job_Swordman || BaseJob==Job_Mage || BaseJob==Job_Archer || BaseJob==Job_Merchant || BaseJob==Job_Thief || BaseJob==Job_Acolyte ) end; changebase roclass(eaclass()|EAJL_THIRD); },{ changebase Class; }

 

still error 

 

Edited by chadness

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