Elijah23 Posted January 20, 2012 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 292 Reputation: 17 Joined: 12/12/11 Last Seen: Thursday at 02:33 PM Share 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 Link to comment Share on other sites More sharing options...
FatalEror Posted January 20, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 67 Reputation: 23 Joined: 11/14/11 Last Seen: October 3, 2014 Share Posted January 20, 2012 Take a look at this: passive_skill.patch Quote Link to comment Share on other sites More sharing options...
Elijah23 Posted January 20, 2012 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 292 Reputation: 17 Joined: 12/12/11 Last Seen: Thursday at 02:33 PM Author Share 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 Link to comment Share on other sites More sharing options...
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.. 
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.