Jump to content
  • 0

Regarding PR_IMPOSITIO


Question

Posted

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

  • 0
Posted

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


 

  • Upvote 1
  • 0
Posted
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 

  • 1
Posted
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;

 

  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...