Giter Site home page Giter Site logo

Attribute Respec issue? about tqrespec HOT 9 CLOSED

epinter avatar epinter commented on June 6, 2024
Attribute Respec issue?

from tqrespec.

Comments (9)

Jayshua83 avatar Jayshua83 commented on June 6, 2024 1

This is still an issue. And it is related to how I modded my game. :(

The Respec tool is somehow looking at the Total Value of each Attribute to respec each one. As in It sees 1000 HP and it removes 40 HP and gives 1 Attribute point?

Instead of looking at a total number of attribute points spent in each attribute?

I modded my game to grant 50 Health/Energy instead of 40 per point. And each STR/INT/DEX point spent gives 5 stats instead of 4.

That is causing the tool to add more points than spent. lol

I just copied my character and respecced. She started with 240 point which is WAY more than I spent, but for testing I spent those 240 (in-game) 120 to Health and 120 to Energy. I left the game and respecced and ended up with 300 points. :| lol

from tqrespec.

epinter avatar epinter commented on June 6, 2024

The application only permits redistribution of points, never give more points you already have. There's no bug I'm aware of, but I will test again with more than one character and report to you.

from tqrespec.

Jayshua83 avatar Jayshua83 commented on June 6, 2024

I was only asking since like I said I modified the amount of each stat I get per point spent and it seems like the app is giving more back then spent. I'll play around a bit more too.

from tqrespec.

epinter avatar epinter commented on June 6, 2024

Everything is working correctly. Removed points from STR and DEX from one char (left as available), entered game and added points back, the base attributes remained the same on both. With other character, removed points from Health and Int, entered game and added everything to Int, everything OK, then on the same character, removed from Int and added back to Health. Both characters are with same base attributes as initially. If you feel you have a problem, try to reproduce, I didn't see nothing wrong yet. The code for attributes redistribution are a bit old, from initial version (2018).

Don't forget that the points you need to look in game are the ones that appears in white color when you place mouse over the attribute, in blue are the bonus you received from skills, equipment, etc...

from tqrespec.

epinter avatar epinter commented on June 6, 2024

Each stat point(available) is equal to 40 for health and 40 for energy, this value is hard coded, here:

public static final int LIFE_ATTR_STEP = 40;

public static final int MANA_ATTR_STEP = 40;

For attributes (STR,INT and DEX), 4 points, hardcoded here:

public static final int STR_ATTR_STEP = 4;

public static final int INT_ATTR_STEP = 4;

public static final int DEX_ATTR_STEP = 4;

The total value is calculated by the game, and it is not saved, tools can't change the final value of each attribute. What is saved is the base value, that you can see when you hover the mouse cursor over the attribute name (you see as "base + bonus"), white and blue colors respectively.

The total value changes when you change the base value, because your character have bonus applied (from equipment, skills,etc). I tested yesterday, and didn't found any problem with base values in game.

Sorry If I'm not understanding you... Can you post some images pointing the numbers to better explain your problem ?

from tqrespec.

Jayshua83 avatar Jayshua83 commented on June 6, 2024

My Problem is I modded the BASE game like I have said.

So I'll just reset my mod file back to vanilla and do it another way so it doesn't screw up the respec tool when I use it.

Thanks.

from tqrespec.

epinter avatar epinter commented on June 6, 2024

Well, the tool was not designed to work with mods... What mod are you using ?

from tqrespec.

Jayshua83 avatar Jayshua83 commented on June 6, 2024

My own mod. I made a mod that does A LOT of things.

Including what I said before... "I modded my game to grant 50 Health/Energy instead of 40 per point. And each STR/INT/DEX point spent gives 5 stats instead of 4."

So that ruins the tool unless it had an option built in to change the default values of each point. And that might be too much work to be worth it. I'll set my point values back to vanilla and give a little extra points to make up for it.

from tqrespec.

epinter avatar epinter commented on June 6, 2024

Such an option wont be good for beginners.Can I close this issue ?

from tqrespec.

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.