Jump to content
  • 0

Q>Weight System


dustinjdr

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  10/19/17
  • Last Seen:  

Good Day Everyone

Ive been playing Ragnarok for a while now including alot of private servers.

Im playing around trying to make my own private server with the features that I will love

including custom regeneration for all character and unlimited weight limit

 

so if im trying to figure out how to make unlimited character weight instead of making all of item 0 weight for some reason

and customize the regeneration hp and sp of character if can someone point me where i should look.

THANKS

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  12/14/23
  • Last Seen:  

For weight, why not just make the items weightless?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  10/19/17
  • Last Seen:  

I tried but its alot of work and can affect some skills that needs weight like cart revo etc. 

is there anyway to make weight unlimited ??

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  232
  • Reputation:   86
  • Joined:  06/30/18
  • Last Seen:  

I didn't test it, but changing the overweight check macros in pc.hpp from:

#define pc_is50overweight(sd) ( (sd)->weight * 100 >= (sd)->max_weight * battle_config.natural_heal_weight_rate )
#define pc_is70overweight(sd) ( (sd)->weight * 100 >= (sd)->max_weight * battle_config.natural_heal_weight_rate_renewal )
#define pc_is90overweight(sd) ( (sd)->weight * 10 >= (sd)->max_weight * 9 )

to:

#define pc_is50overweight(sd) ( false )
#define pc_is70overweight(sd) ( false )
#define pc_is90overweight(sd) ( false )

should do what you want.

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...