Eross Posted May 31 Share Posted May 31 Good day ! I need help on activating the matk bonus on impositio magnus please to pre-renewal .. Last time I did it on my old server is I just change this line from the previous rathena status.cpp set_sc( KN_AUTOCOUNTER , SC_AUTOCOUNTER , EFST_AUTOCOUNTER , SCB_NONE ); set_sc( PR_IMPOSITIO , SC_IMPOSITIO , EFST_IMPOSITIO , SCB_WATK #ifdef RENEWAL |SCB_MATK ); #else |SCB_MATK ); but when I used the new repo those lines are gone .. can you help me please ? Quote Link to comment Share on other sites More sharing options...
1 EIysium Posted June 4 Share Posted June 4 On 6/2/2022 at 4:51 AM, Eross said: Hi I tried this but nothing happened You need implement the bonus in status.cpp go to src/map/status.cpp and find static unsigned short status_calc_matk(struct block_list *bl, struct status_change *sc, int matk) now put impositio bonus below: if (sc->data[SC_VOLCANO]) matk += sc->data[SC_VOLCANO]->val2; and add then: if (sc->data[SC_VOLCANO]) matk += sc->data[SC_VOLCANO]->val2; if (sc->data[SC_IMPOSITIO]) matk += sc->data[SC_IMPOSITIO]->val2; 1 Quote Link to comment Share on other sites More sharing options...
0 EIysium Posted June 1 Share Posted June 1 Go to db/pre-re/status.yml and search Impositio - Status: Impositio Icon: EFST_IMPOSITIO DurationLookup: PR_IMPOSITIO CalcFlags: Watk: true Flags: SuperNoviceAngel: true End: Impositio: true to - Status: Impositio Icon: EFST_IMPOSITIO DurationLookup: PR_IMPOSITIO CalcFlags: Watk: true Matk: true Flags: SuperNoviceAngel: true End: Impositio: true 1 Quote Link to comment Share on other sites More sharing options...
0 Eross Posted June 1 Author Share Posted June 1 9 hours ago, EIysium said: Go to db/pre-re/status.yml and search Impositio - Status: Impositio Icon: EFST_IMPOSITIO DurationLookup: PR_IMPOSITIO CalcFlags: Watk: true Flags: SuperNoviceAngel: true End: Impositio: true to - Status: Impositio Icon: EFST_IMPOSITIO DurationLookup: PR_IMPOSITIO CalcFlags: Watk: true Matk: true Flags: SuperNoviceAngel: true End: Impositio: true Thanks ! Ill try this when I get home .. Seems rathena make it more easier to adjust Quote Link to comment Share on other sites More sharing options...
0 Eross Posted June 2 Author Share Posted June 2 Hi I tried this but nothing happened Quote Link to comment Share on other sites More sharing options...
0 Playtester Posted June 3 Share Posted June 3 Calc flags only determines when your stats get recalculated, but you still need to implement the actual bonus you want to give it. Quote Link to comment Share on other sites More sharing options...
Good day ! I need help on activating the matk bonus on impositio magnus please to pre-renewal .. Last time I did it on my old server is I just change this line from the previous rathena status.cpp
set_sc( KN_AUTOCOUNTER , SC_AUTOCOUNTER , EFST_AUTOCOUNTER , SCB_NONE ); set_sc( PR_IMPOSITIO , SC_IMPOSITIO , EFST_IMPOSITIO , SCB_WATK #ifdef RENEWAL |SCB_MATK ); #else |SCB_MATK );
but when I used the new repo those lines are gone .. can you help me please ?
Link to comment
Share on other sites