Jenox 0 Posted June 1, 2015 Hey guys, sadly me again. 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;} } Quote Share this post Link to post Share on other sites
0 GmOcean 92 Posted June 1, 2015 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). 1 Jenox reacted to this Quote Share this post Link to post Share on other sites
Hey guys,
sadly me again.
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:
Share this post
Link to post
Share on other sites