alibaba Posted October 13, 2012 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 11 Reputation: 0 Joined: 10/10/12 Last Seen: October 13, 2015 Share Posted October 13, 2012 i wish to set perfect dodge now able to flee skill,magic and others (not only normal attack) thanks =) Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 13, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 13, 2012 In battle.c if ( (!skill_num || skill_num == PA_SACRIFICE) && tstatus->flee2 && rnd()%1000 < tstatus->flee2 ) { //Check for Lucky Dodge wd.type=0x0b; wd.dmg_lv=ATK_LUCKY; if (wd.div_ < 0) wd.div_*=-1; return wd; } Remove !skillnum || and it will affected by skills. (You can also remove PA_SACRIFICE line if you want Sacrifice has chance to miss) Quote Link to comment Share on other sites More sharing options...
alibaba Posted October 14, 2012 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 11 Reputation: 0 Joined: 10/10/12 Last Seen: October 13, 2015 Author Share Posted October 14, 2012 (edited) if ( (skill_num) && tstatus->flee2 && rnd()%1000 < tstatus->flee2 ) { //Check for Lucky Dodge wd.type=0x0b; wd.dmg_lv=ATK_LUCKY; if (wd.div_ < 0) wd.div_*=-1; return wd; } this is working, thanks but magic skill is still bypass total dodge (example: Cold Bolt,Storm Gust) and can we make it pop up LUCKY words instead of MISS words when you success perfect dodged the skill? Edited October 14, 2012 by alibaba Quote Link to comment Share on other sites More sharing options...
Question
alibaba
i wish to set perfect dodge now able to flee skill,magic and others (not only normal attack)
thanks =)
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.