Elijah23 Posted January 20, 2012 Posted January 20, 2012 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... Advance thanks.. Quote
FatalEror Posted January 20, 2012 Posted January 20, 2012 Take a look at this: passive_skill.patch Quote
Elijah23 Posted January 20, 2012 Author Posted January 20, 2012 Take a look at this: passive_skill.patch Hi Fatal... Thanks to this.. So it should be placed on right positions or it would not work?.. Quote
Question
Elijah23
Hi!
I'm making a custom passive skill which increases some attributes like in the item script...
For example,
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..
Is this right?.. Sorry, I'm new to this...
And i don't know where to add this...
Advance thanks.. 
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.