Jump to content
  • 0

Regarding PR_IMPOSITIO


Eross

Question


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.11
  • Content Count:  349
  • Reputation:   12
  • Joined:  04/05/20
  • Last Seen:  

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

5 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  149
  • Reputation:   46
  • Joined:  07/15/13
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  149
  • Reputation:   46
  • Joined:  07/15/13
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.11
  • Content Count:  349
  • Reputation:   12
  • Joined:  04/05/20
  • Last Seen:  

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 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.11
  • Content Count:  349
  • Reputation:   12
  • Joined:  04/05/20
  • Last Seen:  

Hi I tried this but nothing happened 

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  790
  • Reputation:   225
  • Joined:  01/30/13
  • Last Seen:  

Calc flags only determines when your stats get recalculated, but you still need to implement the actual bonus you want to give it.

Link to comment
Share on other sites

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.

×
×
  • Create New...