Git Product home page Git Product logo

Comments (4)

StephenCWills avatar StephenCWills commented on May 22, 2024 1

This is one of the reasons why I'd actually advocate for the menu and the game being 2 separate processes.

That wouldn't help here. Stash saves item data in SP save format so it remembers the HP/mana values assigned to the item when it was picked up. Before 1.5.1, we used the heroitems file in the character saves to do the same for items in the player's inventory. But recently with the introduction of the item validation logic, we switched back to the vanilla way of regenerating the item on new game. So now there's a bit of a difference between leaving an item in your stash and holding it in your inventory when you create a new game.

from devilutionx.

julealgon avatar julealgon commented on May 22, 2024

I don't know if this is some sort of overflow or if the amulet decided to remember my Sorcerer's massive mana pool for some reason and apply that on my Warrior.

Loading the game up again, there he is, but this time the health and HP values are normal, so it seems self-correcting, in a way.

You are probably onto something there... if this goes away when reloading, it is most likely state that wasn't correctly cleared between one game and the other (which is what happens with the vanilla game in several scenarios, such as "refreshing wirt items", or "difficulty levels in normal" etc).

This is one of the reasons why I'd actually advocate for the menu and the game being 2 separate processes.

from devilutionx.

julealgon avatar julealgon commented on May 22, 2024

Stash saves item data in SP save format so it remembers the HP/mana values assigned to the item when it was picked up.

Had no idea about that. Thanks for pointing it out!

from devilutionx.

kphoenix137 avatar kphoenix137 commented on May 22, 2024

#5771

from devilutionx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.