Bringer Posted June 18, 2016 Share Posted June 18, 2016 (edited) done Edited November 14, 2019 by Bringer Quote Link to comment Share on other sites More sharing options...
0 xilence01 Posted June 18, 2016 Share Posted June 18, 2016 Increase damage on Boss monster and Holy monster by 100%. [ERROR] RC_BOSS if (sc && sc->data[SC_SPIRIT && sc->data[SC_SPIRIT]->val2 == SL_STAR) { sd->right_weapon.addrace[RC_ANGEL] += 100; sd->left_weapon.addrace[RC_ANGEL] += 100; sd->right_weapon.addele[ELE_HOLY] += 100; sd->left_weapon.addele[ELE_HOLY] += 100; sd->right_weapon.addrace[RC_BOSS] += 100; sd->left_weapon.addrace[RC_BOSS] += 100; } Try using Class_Boss Quote Link to comment Share on other sites More sharing options...
0 Bringer Posted June 28, 2016 Author Share Posted June 28, 2016 Increase damage on Boss monster and Holy monster by 100%. [ERROR] RC_BOSS if (sc && sc->data[SC_SPIRIT && sc->data[SC_SPIRIT]->val2 == SL_STAR) { sd->right_weapon.addrace[RC_ANGEL] += 100; sd->left_weapon.addrace[RC_ANGEL] += 100; sd->right_weapon.addele[ELE_HOLY] += 100; sd->left_weapon.addele[ELE_HOLY] += 100; sd->right_weapon.addrace[RC_BOSS] += 100; sd->left_weapon.addrace[RC_BOSS] += 100; } Try using Class_Boss error 'Class_Boss' undeclared Quote Link to comment Share on other sites More sharing options...
0 xilence01 Posted June 29, 2016 Share Posted June 29, 2016 Increase damage on Boss monster and Holy monster by 100%. [ERROR] RC_BOSS if (sc && sc->data[SC_SPIRIT && sc->data[SC_SPIRIT]->val2 == SL_STAR) { sd->right_weapon.addrace[RC_ANGEL] += 100; sd->left_weapon.addrace[RC_ANGEL] += 100; sd->right_weapon.addele[ELE_HOLY] += 100; sd->left_weapon.addele[ELE_HOLY] += 100; sd->right_weapon.addrace[RC_BOSS] += 100; sd->left_weapon.addrace[RC_BOSS] += 100; } Try using Class_Boss error 'Class_Boss' undeclared MD_BOSS, try. Quote Link to comment Share on other sites More sharing options...
0 noobzter003 Posted February 14, 2017 Share Posted February 14, 2017 RC_BOSS change to CLASS_BOSS Quote Link to comment Share on other sites More sharing options...
0 Ukiram Posted November 15, 2019 Share Posted November 15, 2019 On 2/14/2017 at 11:59 AM, noobzter003 said: RC_BOSS change to CLASS_BOSS hi how did you fix your increase damage on boss monster and holy monsters? Quote Link to comment Share on other sites More sharing options...
0 Bringer Posted November 15, 2019 Author Share Posted November 15, 2019 13 minutes ago, Ryo Osaki said: hi how did you fix your increase damage on boss monster and holy monsters? if(sc && sc->data[SC_SPIRIT] && sc->data[SC_SPIRIT]->val2 == SL_STAR) { sd->right_weapon.addclass[CLASS_BOSS] += 100; sd->left_weapon.addclass[CLASS_BOSS] += 100; sd->right_weapon.addele[ELE_HOLY] += 100; sd->left_weapon.addele[ELE_HOLY] += 100; } Quote Link to comment Share on other sites More sharing options...
0 Ukiram Posted November 15, 2019 Share Posted November 15, 2019 55 minutes ago, Bringer said: if(sc && sc->data[SC_SPIRIT] && sc->data[SC_SPIRIT]->val2 == SL_STAR) { sd->right_weapon.addclass[CLASS_BOSS] += 100; sd->left_weapon.addclass[CLASS_BOSS] += 100; sd->right_weapon.addele[ELE_HOLY] += 100; sd->left_weapon.addele[ELE_HOLY] += 100; } Thanks bro. Love ya Quote Link to comment Share on other sites More sharing options...
0 Yhaj Posted September 21, 2020 Share Posted September 21, 2020 On 11/15/2019 at 9:13 AM, Ukiram said: Thanks bro. Love ya On 11/15/2019 at 8:18 AM, Bringer said: if(sc && sc->data[SC_SPIRIT] && sc->data[SC_SPIRIT]->val2 == SL_STAR) { sd->right_weapon.addclass[CLASS_BOSS] += 100; sd->left_weapon.addclass[CLASS_BOSS] += 100; sd->right_weapon.addele[ELE_HOLY] += 100; sd->left_weapon.addele[ELE_HOLY] += 100; } Hi, where will I put this? Quote Link to comment Share on other sites More sharing options...
0 Bringer Posted September 21, 2020 Author Share Posted September 21, 2020 2 hours ago, Yhaj said: Hi, where will I put this? status.cpp Quote Link to comment Share on other sites More sharing options...
0 Yhaj Posted September 22, 2020 Share Posted September 22, 2020 15 hours ago, Bringer said: status.cpp Hmmm.. I mean where in the status.cpp? It's too many lines there... Quote Link to comment Share on other sites More sharing options...
0 Bringer Posted September 25, 2020 Author Share Posted September 25, 2020 On 9/22/2020 at 11:49 AM, Yhaj said: Hmmm.. I mean where in the status.cpp? It's too many lines there... Quote https://github.com/rathena/rathena/blob/master/src/map/status.cpp#L4576 Quote Link to comment Share on other sites More sharing options...
done
Edited by BringerLink to comment
Share on other sites