Elijah23 Posted January 20, 2012 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 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 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...
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