sevenrosuport Posted September 20, 2012 Group: Members Topic Count: 52 Topics Per Day: 0.01 Content Count: 142 Reputation: 1 Joined: 07/08/12 Last Seen: December 26, 2018 Share Posted September 20, 2012 wanted ignorance only 50% and not 100% as I have help with this bonus bDefRatioAtkRace? 13017,House_Auger_,Ice Pick,4,20,,600,70,,1,1,0x028F5EEE,7,2,2,4,36,1,1,{ bonus bDefRatioAtkRace,RC_Boss; bonus bDefRatioAtkRace,RC_NonBoss; },{},{} Quote Link to comment Share on other sites More sharing options...
GmOcean Posted September 20, 2012 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 666 Reputation: 93 Joined: 04/27/12 Last Seen: August 17, 2015 Share Posted September 20, 2012 (edited) I'm not 100% positive but try changing this: if( sd->right_weapon.def_ratio_atk_ele & (1<<tstatus->def_ele) || sd->right_weapon.def_ratio_atk_race & (1<<tstatus->race) || sd->right_weapon.def_ratio_atk_race & (1<<(is_boss(target)?RC_BOSS:RC_NONBOSS)) ) flag.pdef = 1; if( sd->left_weapon.def_ratio_atk_ele & (1<<tstatus->def_ele) || sd->left_weapon.def_ratio_atk_race & (1<<tstatus->race) || sd->left_weapon.def_ratio_atk_race & (1<<(is_boss(target)?RC_BOSS:RC_NONBOSS)) in battle.c to this: if( sd->right_weapon.def_ratio_atk_ele & (1<<tstatus->def_ele) || sd->right_weapon.def_ratio_atk_race & ((1<<tstatus->race)/2) || sd->right_weapon.def_ratio_atk_race & ((1<<(is_boss(target)?RC_BOSS:RC_NONBOSS))/2) ) flag.pdef = 1; if( sd->left_weapon.def_ratio_atk_ele & (1<<tstatus->def_ele) || sd->left_weapon.def_ratio_atk_race & ((1<<tstatus->race)/2) || sd->left_weapon.def_ratio_atk_race & ((1<<(is_boss(target)?RC_BOSS:RC_NONBOSS))/2) Edit: BTW, IcePick does not ignore def, but does more dmg depending on def. Edited September 20, 2012 by GmOcean 1 Quote Link to comment Share on other sites More sharing options...
Thanna Posted September 20, 2012 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 271 Reputation: 7 Joined: 01/06/12 Last Seen: May 16, 2015 Share Posted September 20, 2012 I'm not 100% positive but try changing this: if( sd->right_weapon.def_ratio_atk_ele & (1<<tstatus->def_ele) || sd->right_weapon.def_ratio_atk_race & (1<<tstatus->race) || sd->right_weapon.def_ratio_atk_race & (1<<(is_boss(target)?RC_BOSS:RC_NONBOSS)) ) flag.pdef = 1; if( sd->left_weapon.def_ratio_atk_ele & (1<<tstatus->def_ele) || sd->left_weapon.def_ratio_atk_race & (1<<tstatus->race) || sd->left_weapon.def_ratio_atk_race & (1<<(is_boss(target)?RC_BOSS:RC_NONBOSS)) in battle.c to this: if( sd->right_weapon.def_ratio_atk_ele & (1<<tstatus->def_ele) || sd->right_weapon.def_ratio_atk_race & ((1<<tstatus->race)/2) || sd->right_weapon.def_ratio_atk_race & ((1<<(is_boss(target)?RC_BOSS:RC_NONBOSS))/2) ) flag.pdef = 1; if( sd->left_weapon.def_ratio_atk_ele & (1<<tstatus->def_ele) || sd->left_weapon.def_ratio_atk_race & ((1<<tstatus->race)/2) || sd->left_weapon.def_ratio_atk_race & ((1<<(is_boss(target)?RC_BOSS:RC_NONBOSS))/2) Edit: BTW, IcePick does not ignore def, but does more dmg depending on def. I'll try this too, as i see on the code, the damage is divided by 2, good idea Quote Link to comment Share on other sites More sharing options...
sevenrosuport Posted September 30, 2012 Group: Members Topic Count: 52 Topics Per Day: 0.01 Content Count: 142 Reputation: 1 Joined: 07/08/12 Last Seen: December 26, 2018 Author Share Posted September 30, 2012 thx Quote Link to comment Share on other sites More sharing options...
GmOcean Posted September 30, 2012 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 666 Reputation: 93 Joined: 04/27/12 Last Seen: August 17, 2015 Share Posted September 30, 2012 Your welcome. Some feed back on whether it worked or not would be very much appreciated, as it would help to further my understanding of the src code. Quote Link to comment Share on other sites More sharing options...
Question
sevenrosuport
wanted ignorance only 50% and not 100% as I have help with this bonus bDefRatioAtkRace?
13017,House_Auger_,Ice Pick,4,20,,600,70,,1,1,0x028F5EEE,7,2,2,4,36,1,1,{ bonus bDefRatioAtkRace,RC_Boss; bonus bDefRatioAtkRace,RC_NonBoss; },{},{}
Link to comment
Share on other sites
4 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.