Jump to content
A 2021 backup has been restored. Forums are closed and work in progress. Join our Discord server for more updates! ×
SoaH City Message Board

health reset


Recommended Posts

Perhaps store the HP bar value in a separate variable, so it's uneffected by the switch between objects?

Also, check the code for setting the inital value of the HP bar, and make sure it's not doing something like, say, setting it to 100 EVERYTIME a Shadow object is recreated.

Hope that helps you find the bug.

Link to comment
Share on other sites

Perhaps store the HP bar value in a separate variable, so it's uneffected by the switch between objects?

Also, check the code for setting the inital value of the HP bar, and make sure it's not doing something like, say, setting it to 100 EVERYTIME a Shadow object is recreated.

Hope that helps you find the bug.

never mind it worked Rep-UP!! ..... almost -.-''

Link to comment
Share on other sites

  • Recently Browsing   0 members

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