Jump to content
  • 0
Elijah23

Custom Skill script...

Question

Hi!

I'm making a custom passive skill which increases some attributes like in the item script...

For example,

bonus bDef,30; bonus bMdef,-30; bonus bMatkRate,100; bonus bCastrate,-20; bonus bAllStats,3;

So i was able to put the skill but i can't add the bonuses..

here's an example of the code i placed in source code..

if( (skill=pc_checkskill(sd,ALL_DARKELF)) == 1 )
sd->add_def[i].rate += 30;

Is this right?.. Sorry, I'm new to this...

And i don't know where to add this... :D Advance thanks.. :)

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

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.