Jump to content
  • 0

Question

Posted

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

Posted (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 by GmOcean
  • Upvote 1
Posted

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 ^_^

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...