Jump to content
  • 0

What Happen with this script?


Question

Posted

Hello guys im trying to give my Not Headphones this effects:

 

+5 MDEF.
+5 Perfect Dodge.
+100% Resist Against Sleep Status.
[if Skill Tarot Card Of Fate is
Learned at Levl 5]
Adds a 5% chance to Auto-Cast Level 5 Tarot Card on the Target when inflicting damage.

 

This is my Script but the 100% resistance to sleep i dont know if is working, what i know is not working is the tarot card auto cast only for clown and gypsy,

i tested it for all players and work good but when i try only for bard and dancer class is not working does somebody fix this for me please?

 

5151,Headset_OST,Note Headphones,5,20,,200,,4,,1,0xFFFFFFFF,7,2,256,,0,1,220,{ bonus2 bResEff,Eff_Sleep,10000; bonus bMdef,5; bonus bFlee2,5; if(BaseClass==Job_Bard||BaseClass==Job_Dancer) bonus3 bAutoSpell,"CG_TAROTCARD",GetSkillLv("CG_TAROTCARD"),50; },{},{}

 

2 answers to this question

Recommended Posts

Posted

maybe because baseclass reads the current job? BaseCLass == Job_Bard || BaseClass == Job_Dancer will (I think) will only read both Bard and Dancer job respectively.

 

to fix this

 

5151,Headset_OST,Note Headphones,5,20,,200,,4,,1,0xFFFFFFFF,7,2,256,,0,1,220,{ bonus2 bResEff,Eff_Sleep,10000; bonus bMdef,5; bonus bFlee2,5; ifBaseJob == Job_Bard||BaseJob == Job_Dancer  bonus3 bAutoSpell,"CG_TAROTCARD",getskilllv(489),50;  },{},{}

  • Upvote 1

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