Jump to content
  • 0
Sign in to follow this  
Jenox

Custom Cardscript Job-Declaration

Question

Hey guys,

 

sadly me again. :D

 

Got some problems at the job-declaration on a autospell script, I want that the card let the user autocast sharpshooting lvl 5 if he is a Hunter/Sniper, it shouldn't work as a clown/gypsy.

 

Script looks like this:

 

{ if(BaseClass==Job_Hunter) {bonus3 bAutoSpell,SN_SHARPSHOOTING,5,50;} }

 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Right now it's checking for BaseClass. That will always return a 1-1 Class unless they have not become any of those classes. In which case it returns Job_Novice.

BaseClass   - The character's 1-1 'normal' job, regardless of Upper value.              For example, this will return Job_Acolyte for Acolyte,               Priest/Monk, High Priest/Champion, and Arch Bishop/Sura.               If the character has not reached a 1-1 class, it will return               Job_Novice.

 

You'll need to check for each class using Class.

 

{ if(Class==Job_Hunter || Class==Job_Sniper) {bonus3 bAutoSpell,SN_SHARPSHOOTING,5,50;} }

(Can't remember if you can do this with Upper or not).

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.