Danz Posted October 4, 2016 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
0 Playtester Posted October 5, 2016 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
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
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.