Danz Posted October 4, 2016 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 12 Reputation: 0 Joined: 01/25/13 Last Seen: September 7, 2020 Share Posted October 4, 2016 Hello, I need help to limit the damage of a skill, if I want her to no more than 80k case MC_MAMMONITE: skillratio += 50*skill_lv; break; if anyone can help I will be very grateful. T_T Quote Link to comment Share on other sites More sharing options...
0 Playtester Posted October 5, 2016 Group: Developer Topic Count: 37 Topics Per Day: 0.01 Content Count: 897 Reputation: 248 Joined: 01/30/13 Last Seen: Yesterday at 09:07 AM Share Posted October 5, 2016 You have to put the code further down at the end of function "battle_calc_weapon_attack". Probably below "wd = battle_calc_weapon_final_atk_modifiers(wd, src, target, skill_id, skill_lv);". Like... if(skill_id == MC_MAMMONITE) wd.damage = cap_value(wd.damage, INT_MIN, 80000); 1 Quote Link to comment Share on other sites More sharing options...
0 Danz Posted October 5, 2016 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 12 Reputation: 0 Joined: 01/25/13 Last Seen: September 7, 2020 Author Share Posted October 5, 2016 Thanks, Playtestar! Quote Link to comment Share on other sites More sharing options...
Question
Danz
Hello, I need help to limit the damage of a skill, if I want her to no more than 80k
if anyone can help I will be very grateful.
T_T
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.