deitalk Posted October 6, 2017 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 14 Reputation: 0 Joined: 01/27/15 Last Seen: 7 hours ago Share Posted October 6, 2017 Hi there, I'd like to know how to modify left hand basic attack damage while dual wielding in order to reduce damage instead of ignore racial/elemental/defense reductions. Quote Link to comment Share on other sites More sharing options...
0 Keitenai Posted October 24, 2017 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 98 Reputation: 75 Joined: 12/04/14 Last Seen: December 10, 2024 Share Posted October 24, 2017 (edited) On 10/6/2017 at 8:48 AM, deitalk said: Hi there, I'd like to know how to modify left hand basic attack damage while dual wielding in order to reduce damage instead of ignore racial/elemental/defense reductions. in scr/map/battle.c find: //Dual-wield Quote if (wd.damage) { if( (sd->class_&MAPID_BASEMASK) == MAPID_THIEF ) { skill = pc_checkskill(sd,AS_RIGHT); ATK_RATER(wd.damage, 50 + (skill * 10)) } else if(sd->class_ == MAPID_KAGEROUOBORO) { skill = pc_checkskill(sd,KO_RIGHT); ATK_RATER(wd.damage, 70 + (skill * 10)) } if(wd.damage < 1) wd.damage = 1; } if (wd.damage2) { if( (sd->class_&MAPID_BASEMASK) == MAPID_THIEF) { skill = pc_checkskill(sd,AS_LEFT); ATK_RATEL(wd.damage2, 30 + (skill * 10)) } else if(sd->class_ == MAPID_KAGEROUOBORO) { skill = pc_checkskill(sd,KO_LEFT); ATK_RATEL(wd.damage2, 50 + (skill * 10)) } if(wd.damage2 < 1) wd.damage2 = 1; } Edited October 24, 2017 by Keitenai Quote Link to comment Share on other sites More sharing options...
Question
deitalk
Hi there, I'd like to know how to modify left hand basic attack damage while dual wielding in order to reduce damage instead of ignore racial/elemental/defense reductions.
Link 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.