Jump to content
  • 0

HP lost on warp


Question

Posted (edited)

Like the title says, players lose hp after warping and from what I see it happens when the hp value is higher than the 'hp' value in sql.

 

For example if I equip an item that gives me 5% more hp, after I warp I lose those 5% hp accordingly whch is weird...

 

Tried messing with max hp and health rates and hp_sp tables but nothing helped at all.

 

Hopefully someone can shed some light on this  /lv


PS: I found the problem...

 

Whenever I equip something that adds stats or hp/sp the hp and max hp value in sql are not updated and so when I warp it loads back the old values exactly...

 

How do I fix this?

Edited by F0xxy

1 answer to this question

Recommended Posts

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...