Wise Posted August 2, 2017 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 147 Reputation: 26 Joined: 11/19/11 Last Seen: October 28, 2021 Share Posted August 2, 2017 (edited) Where to find Meteor Assault SRC for stun/blind/bleed? I managed to find the duration @ skill_cast_db.txt Looking to remove the bleed and blind effect, and make the stun 100% chance to happen also, is this correct? src/map/status.c case SC_STUN: sc_def = status->luk*300; break; Goal: Stun cannot be resisted, only if luk is 300 Edited August 2, 2017 by Mavis Quote Link to comment Share on other sites More sharing options...
0 Playtester Posted August 21, 2017 Group: Developer Topic Count: 37 Topics Per Day: 0.01 Content Count: 896 Reputation: 248 Joined: 01/30/13 Last Seen: Monday at 01:58 PM Share Posted August 21, 2017 A bit late, but the code you are looking for is in skill.c case ASC_METEORASSAULT: //Any enemies hit by this skill will receive Stun, Darkness, or external bleeding status ailment with a 5%+5*skill_lv% chance. switch(rnd()%3) { case 0: sc_start(src,bl,SC_BLIND,(5+skill_lv*5),skill_lv,skill_get_time2(skill_id,1)); break; case 1: sc_start(src,bl,SC_STUN,(5+skill_lv*5),skill_lv,skill_get_time2(skill_id,2)); break; default: sc_start2(src,bl,SC_BLEEDING,(5+skill_lv*5),skill_lv,src->id,skill_get_time2(skill_id,3)); } break; If you change SC_STUN in general, it affects all skills, not only Meteor Assault. You will need to replace sc_start with a status_change_start call with the corresponding parameters. With the "flag" parameter you can define that chance / duration cannot be reduced. * @param flag: Value which determines what parts to calculate. See e_status_change_start_flags Quote Link to comment Share on other sites More sharing options...
Question
Wise
Where to find Meteor Assault SRC for stun/blind/bleed? I managed to find the duration @ skill_cast_db.txt
Looking to remove the bleed and blind effect, and make the stun 100% chance to happen
also, is this correct?
src/map/status.c
case SC_STUN:
sc_def = status->luk*300;
break;
Goal: Stun cannot be resisted, only if luk is 300
Edited by MavisLink to comment
Share on other sites
1 answer 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.