braian Posted September 28, 2014 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 3 Reputation: 0 Joined: 01/26/13 Last Seen: February 27, 2015 Share Posted September 28, 2014 Show me how use with more than one skill return (skill_num == KN_BOWLINGBASH)?cap_value(damage,0,36000):damage; I repeat whit another skill, but not function... On this Topic http://rathena.org/board/topic/58038-question-how-to-put-max-cap-damage/ Help me pls... Quote Link to comment Share on other sites More sharing options...
Lighta Posted September 28, 2014 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 737 Reputation: 216 Joined: 11/29/11 Last Seen: December 20, 2020 Share Posted September 28, 2014 You could use a skill_inf3, to mark all skill you wish to be capped, that would be the best way to do it imo, otherwise here a simple solution for you. switch(skill_num){ case RK_HUNDREDSPEAR: case RK_DEATHBOUND: case KN_BOWLINGBASH: //... do not break, list of capped skill return cap_value(damage,0,36000); default: return dammage; //other are not capped } Quote Link to comment Share on other sites More sharing options...
braian Posted September 29, 2014 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 3 Reputation: 0 Joined: 01/26/13 Last Seen: February 27, 2015 Author Share Posted September 29, 2014 Only the first skill work... Other skills not work... switch( skill_id ){ case MG_FIREBOLT: case MG_COLDBOLT: //... do not break, list of capped skill return cap_value(damage,0,6000); default: return damage; //other are not capped } Not work I put too this form.. switch( skill_id ){ case MG_FIREBOLT: //... do not break, list of capped skill return cap_value(damage,0,6000); default: return damage; //other are not capped } switch( skill_id ){ case MG_COLDBOLT: //... do not break, list of capped skill return cap_value(damage,0,6000); default: return damage; //other are not capped } It Not Work Too... Only the first skill work, another skill it not work... Quote Link to comment Share on other sites More sharing options...
braian Posted October 1, 2014 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 3 Reputation: 0 Joined: 01/26/13 Last Seen: February 27, 2015 Author Share Posted October 1, 2014 Bump... Quote Link to comment Share on other sites More sharing options...
Question
braian
Show me how use with more than one skill
return (skill_num == KN_BOWLINGBASH)?cap_value(damage,0,36000):damage;
I repeat whit another skill, but not function...
On this Topic http://rathena.org/board/topic/58038-question-how-to-put-max-cap-damage/
Help me pls...
Link to comment
Share on other sites
3 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.