Eross Posted May 31, 2022 Posted May 31, 2022 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
1 _Terra Posted June 4, 2022 Posted June 4, 2022 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
0 _Terra Posted June 1, 2022 Posted June 1, 2022 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
0 Eross Posted June 1, 2022 Author Posted June 1, 2022 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
0 Playtester Posted June 3, 2022 Posted June 3, 2022 Calc flags only determines when your stats get recalculated, but you still need to implement the actual bonus you want to give it. Quote
Question
Eross
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 ?
5 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.