What I need is to see the statistics plus the bonuses for my statistics tableThey are available as integers under the heading Hero - Hero Attribute. If you are trying to use this somewhere the game expects a real number you will have to convert it from an int to a real.
Also what deepstrasz said about this not at all being the right forum to ask these sorts of questions in.
What happens is That I want to see the regeneration of life and mana than with the normal pathways I can only see theregeneration without the bonuses base regeneration without the bonusesuse
your
brain
Or ask a better question. What value are you trying to get that you cannot get? You asked how to get unit stats. I told you the way to get Int/Agi/Str. This includes a way to get bonus attributes as well if you had bothered to look. You can also access unit current/max life and mana via Unit - Property which is a real value not an integer.
I know how to put the base regeneration plus the bonus for the attribute, the mess is that when you acquire an external bonus example an item shows that bonusNow that you were more specific in your question I can help you, thanks for listening.
That's not something you can learn directly. You can only know total life/mana regen by duplicating the unit, damaging it, and waiting for a tick of regeneration. That process literally takes time to complete and is probably not extremely accurate. An alternative solution is to remove default unit hp/mp regen from the game and trigger it all yourself manually. Then you would know the value at any given point.
Thank you very much, and a lot of workYes, dealing with items or buffs that change your regeneration stat in some way are going to be the hardest things to work around. As I said, you can either:
- Remove ALL REGENERATION from your map by setting the appropriate gameplay constants and object editor fields to 0. Then completely trigger ALL REGENERATION in your map manually. This includes values from acquired items, etc.
- Build a database of all possible regeneration effects in your map (due to base regen, abilities, buffs, items, etc.). Any time you want to know the current regen of the unit in order to update that UI frame... figure out which of these effects the unit is currently affected by (dpending on the source of these regen buffs the way to check if they are present will be different), and then compute the current regen value.
I'm using mobile data I don't have internet in the houseAlso a tip to screenshot if you use Windows:
- Press PrintScreen button
- Open Microsoft Paint
- 'Paste'
- Select the area you want to show with the ▯ tool
- 'Crop'
- 'Save'
no@Tasyen You know how to get the HP REGENERATION plus the bonuses
What do you meanThe UI display strings. Therefore it does not matter, if the data is integer or real. it also can be unit data or variables.