Jump to content
  • 0

How do I allow items to be used during SC_BERSERK?


Marured

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  05/05/18
  • Last Seen:  

How do I allow items to be used during SC_BERSERK?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  64
  • Reputation:   40
  • Joined:  03/26/12
  • Last Seen:  

If you're on the latest version of Rathena, you can go to db/pre-re or db/re folder and open the status.yml

Find:

  - Status: Berserk
    Icon: EFST_BERSERK
    DurationLookup: LK_BERSERK
    States:
      NoCast: true
      NoChat: true
      NoEquipItem: true
      NoUnEquipItem: true
      NoConsumeItem: true

Delete this:

      NoConsumeItem: true

if you're on the older versions and don't have this file, goto src/map folder and open pc.cpp

Find:

			if( sd->md->sc.data[SC_BERSERK] )
				return false;

Delete it, then find this:

	if (sd->sc.count && (
		sd->sc.data[SC_BERSERK] || sd->sc.data[SC_SATURDAYNIGHTFEVER] ||

Change it to this:

	if (sd->sc.count && (
		sd->sc.data[SC_SATURDAYNIGHTFEVER] ||

 

Edited by joecalis
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...