Jump to content
  • 0

Pet remove runaway


Dissidia

Question


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  535
  • Reputation:   23
  • Joined:  11/19/11
  • Last Seen:  

hello, how to remove the runaway of a pet when they are hungry? thanks

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

You configure pet system in this file

https://github.com/rathena/rathena/blob/master/conf/battle/pet.conf

However if intimacy goes zero pet will run away, you might need to look into src for it

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  513
  • Reputation:   83
  • Joined:  08/11/12
  • Last Seen:  

// The rate at which a pet will become hungry. (Note 2)
pet_hungry_delay_rate: 100

You simply set this to 0 if you want to save yourself the trouble of doing source modification. Though this also means that pets in your server will never be hungry

Edited by Ninja
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  23
  • Reputation:   2
  • Joined:  08/15/19
  • Last Seen:  

On 5/10/2017 at 12:42 PM, Ninja said:

// The rate at which a pet will become hungry. (Note 2)
pet_hungry_delay_rate: 100

You simply set this to 0 if you want to save yourself the trouble of doing source modification. Though this also means that pets in your server will never be hungry

I'm sorry for bumping up this old post, but in case somebody is facing the same issue, setting this to 0 will make the pet hunger bar deplete even faster (no delay).

Setting this to 200 will make the hunger rate goes down 2x slower, 300 to make it 3x slower, 2500 to make it 25x slower, and so on.

Setting this to 100000 will make the hunger rate always stay full and the pet will never run away, but with 'never hungry' setting will also make the pet intimacy go down gradually because you will never have to feed them. If you insist to feed them when they're full, their intimacy will even be going lower and in worst case, dying.

I personally use 2500.

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