Jump to content
  • 0
Mr BrycE

what's wrong with this?

Question

{ bonus bAspdRate,100; bonus2 bSubRace,RC_NonBoss,15; bonus2 bSubRace,RC_Boss,15; if(BaseJob != Job_Assassin||BaseJob != Job_Monk) skill "TK_POWER",5; skill "TK_DODGE",1; },{},{}

!= , means not= ,right?

i want to put the the script for all jobs except assassin and champs.. will someone make a script like that?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

use AND(&&) instead of OR(||)

LOGICAL OR

0&&0 = 0

0&&1 = 1

1&&0 = 1

1&&1 = 1

LOGICAL AND

0||0 = 0

0||1 = 0

1||0 = 0

1||1 = 1

{ bonus bAspdRate,100; bonus2 bSubRace,RC_NonBoss,15; bonus2 bSubRace,RC_Boss,15; if(BaseJob != Job_Assassin&&BaseJob != Job_Monk) skill "TK_POWER",5; skill "TK_DODGE",1; },{},{}

Link to comment
Share on other sites

Did you want the entire script disabled for Assassins/Monks? If that's the case,

{ if(BaseJob == Job_Assassin || BaseJob == Job_Monk) end; bonus bAspdRate,100; bonus2 bSubRace,RC_NonBoss,15; bonus2 bSubRace,RC_Boss,15; skill "TK_POWER",5; skill "TK_DODGE",1; }

Link to comment
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.   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.



×
×
  • Create New...

Important Information

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