Jump to content
  • 0

AutoSpell in Autobonus


ran0120

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.04
  • Content Count:  25
  • Reputation:   0
  • Joined:  05/18/23
  • Last Seen:  

I'm trying to create an item in which the effect would be like: 20% chance to activate the effect of Randgris Card for 10 seconds when attacking. The script that I came up is this:

 

autobonus "{ bonus bUnbreakableWeapon; bonus2 bAddClass,Class_All,10; bonus3 bAutoSpell,"SA_DISPELL",1,50; }",200,10000,0,"{ specialeffect2 368; }";

 

I get an error every time I load it. However, when I remove the bonus3 bAutoSpell,"SA_DISPELL",1,50; it works fine. So does that mean it won't work because it's a chance within a chance? 20% chance (from the autobonus) to active a 5% chance (from Randgris). Is there any other way to make this effect work?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  896
  • Reputation:   117
  • Joined:  05/23/12
  • Last Seen:  

Here is the documentation:

https://github.com/cydh/rathena-wiki/blob/master/Autobonus.md

 

Rynbef~

Edited by Rynbef
Found doc
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...