Anyone can help me make DefRatioAtkRace only ignores (Soft)VIT Base Defense? I think i found its source code yet i dont know which is the hard defense and soft defense.
Â
pc.c
case SP_DEF_RATIO_ATK_RACE:
{
uint32 race_mask = map->race_id2mask(val);
if (race_mask == RCMASK_NONE) {
ShowWarning("pc_bonus: SP_DEF_RATIO_ATK_RACE: Invalid Race (%d)\n", val);
break;
}
if (!sd->state.lr_flag)
sd->right_weapon.def_ratio_atk_race |= race_mask;
else if (sd->state.lr_flag == 1)
sd->left_weapon.def_ratio_atk_race |= race_mask;
}
Hello again 🤣
Anyone can help me make DefRatioAtkRace only ignores (Soft)VIT Base Defense? I think i found its source code yet i dont know which is the hard defense and soft defense.
Â
pc.c
case SP_DEF_RATIO_ATK_RACE: { uint32 race_mask = map->race_id2mask(val); if (race_mask == RCMASK_NONE) { ShowWarning("pc_bonus: SP_DEF_RATIO_ATK_RACE: Invalid Race (%d)\n", val); break; } if (!sd->state.lr_flag) sd->right_weapon.def_ratio_atk_race |= race_mask; else if (sd->state.lr_flag == 1) sd->left_weapon.def_ratio_atk_race |= race_mask; }
battle.c
Â
Share this post
Link to post
Share on other sites