sevenrosuport Posted September 20, 2012 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
GmOcean Posted September 20, 2012 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
Thanna Posted September 20, 2012 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
GmOcean Posted September 30, 2012 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
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; },{},{}
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.