Hello rAthena! First of all good day to all of you and I hope everyone is having a good time.
My question is how can I add weapon atk damage to the formula of Shield Boomerang damage. Because currently the default is no weapon attack is applied to the damage.
Thanks in advance!
case CR_SHIELDBOOMERANG:
case PA_SHIELDCHAIN:
wd->damage = sstatus->batk;
if (sd) {
short index = sd->equip_index[EQI_HAND_L];
if (index >= 0 && sd->inventory_data[index] && sd->inventory_data[index]->type == IT_ARMOR) {
ATK_ADD(wd->damage, wd->damage2, sd->inventory_data[index]->weight / 10);
#ifdef RENEWAL
ATK_ADD(wd->weaponAtk, wd->weaponAtk2, sd->inventory_data[index]->weight / 10);
Question
Haganezuka
Hello rAthena! First of all good day to all of you and I hope everyone is having a good time.
My question is how can I add weapon atk damage to the formula of Shield Boomerang damage. Because currently the default is no weapon attack is applied to the damage.
Thanks in advance!
case CR_SHIELDBOOMERANG: case PA_SHIELDCHAIN: wd->damage = sstatus->batk; if (sd) { short index = sd->equip_index[EQI_HAND_L]; if (index >= 0 && sd->inventory_data[index] && sd->inventory_data[index]->type == IT_ARMOR) { ATK_ADD(wd->damage, wd->damage2, sd->inventory_data[index]->weight / 10); #ifdef RENEWAL ATK_ADD(wd->weaponAtk, wd->weaponAtk2, sd->inventory_data[index]->weight / 10);
wrong title
Link to comment
Share on other sites
0 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.