Jump to content
  • 0

Where is sitting regen scripted?


aleph075

Question


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  1.05
  • Content Count:  46
  • Reputation:   0
  • Joined:  04/10/24
  • Last Seen:  

I cant find the sitting script. I like to edit it, but cant find it

Thx!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  461
  • Reputation:   61
  • Joined:  08/28/12
  • Last Seen:  

12 hours ago, aleph075 said:

I cant find the sitting script. I like to edit it, but cant find it

Thx!

src/status.cpp
search for:

// Skill-related recovery (only when sit)

there you can edit the source. ^-^

  • Upvote 1
  • MVP 1
Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  896
  • Reputation:   118
  • Joined:  05/23/12
  • Last Seen:  

The HP/SP Recovery is source based not a script. U can increase the rate of HP and sp Regen in conf/battle

 

Rynbef~

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  809
  • Reputation:   233
  • Joined:  01/30/13
  • Last Seen:  

If the config files are enough then I recommend using them.

If you want a special implementation, you'd need to modify the source code. The right position in the code depends a bit on how you want to modify 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...