Jump to content
  • 0

What Happen with this script?


eboni001

Question


  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

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; },{},{}

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  89
  • Reputation:   5
  • Joined:  12/25/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

TY is working good now ^_^

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