Percentage Life Regeneration moved to Energy Shield is calculated from maximum ES of maximum Life (Zealot's Oath)
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Accessibilité débutants
- 92/100
- Type d'issue
- Bug
- Clarté
- Clairement spécifiée
- Activité
- Active
- Domaine
- game-dev
Piste de recherche
Commencez dans src/Modules/CalcDefence.lua, aux lignes 1297–1316 environ, où LifeRegenPercent est affecté à EnergyShieldRegenPercent. Examinez le zealots-oath-percent-regen.patch joint, puis exécutez spec/System/TestZealotsOath_spec.lua. Terminé signifie que Zealot's Oath applique le pourcentage au Life maximum tout en produisant les valeurs attendues de régénération d'Energy Shield.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Check version
- I'm running the latest version of Path of Building and I've verified this by checking the changelog
Check for duplicates
- I've checked for duplicate open and closed issues by using the search function of the issue tracker
Check for support
- I've checked that the calculation is supposed to be supported. If it isn't please open a feature request instead (Red text is a feature request).
What platform are you running Path of Building on?
Windows
What is the value from the calculation in-game?
Energy Shield regeneration from "Regenerate 4% of Life per second" under "Life Regeneration is applied to Energy Shield instead" should be 4% of maximum Life, applied to Energy Shield. In the attached build (60 Life, 2,040 ES) that's 2.4 ES per second. The same goes for "X% of Life Regeneration also applies to Energy Shield": with 50%, it should be 1.2 ES per second.
What is the value from the calculation in Path of Building?
81.6 ES per second, which is 4% of maximum Energy Shield (2,040). With "50% of Life Regeneration also applies to Energy Shield" PoB shows 40.8 ES/s. In src/Modules/CalcDefence.lua (around lines 1297–1316), LifeRegenPercent is moved over as EnergyShieldRegenPercent, so the percentage is taken of the ES pool instead of the life pool. Proposed patch attached (zealots-oath-percent-regen.patch; applies cleanly on dev, adds spec/System/TestZealotsOath_spec.lua).
zealots-oath-percent-regen.patch
How to reproduce the issue
Import the build code below. It's an empty level-1 character with three custom modifiers:
+2000 to maximum Energy Shield
Regenerate 4% of Life per second
▎ Life Regeneration is applied to Energy Shield instead
▎ 2. Energy Shield Regen shows 81.6/s; expected 2.4/s (4% of 60 Life).
▎ 3. Replace the last modifier with 50% of Life Regeneration also applies to Energy Shield: 40.8/s shown, expected 1.2/s.
PoB for PoE1 build code
eNqtW99z4ygSft75K1SuuqerSWzZySZbyW45tjNJVTLxWZmZu6cpImGbHQQqgZJ4__prQJIlxz_A0jxMJNTfB91A0zT46q_3mHqvOBWEs-tO76Tb8TALeUTY4rrz7fn280Xnrz8_XU2RXD7NbzJC1Zc_P_12pZ89JELMohFFQnxFMb7ufOUMd7wXxCIii7dwiVIUSpw-4FdMh5nkjzwCWZlm6usaHITQio5HlRg0puPFiLCAh7-w_JLyLNFlCWJyiTl7RH_z9AuPilrKcsJq5RKlCyy_Fyr2f4KKrwS_mTY8zyaTDujz29WUohVOA4mkJ-C_684QzIIWeIxi-B8wiGYA6J50zzqnexE3WSqkAyxIMI5Kyd6Jv0twmuLJfI5DSV7xKCVytEQsrNSxC-cq-5hRSRJKcFpp1c7m330g3yn6zCWi42lQNcv5fmEuD7f5B5HLGwpGtKVWgPsFIxK7IKacCM5cm1-T32n1jFKYWFayMyxw-ook2WjLTm4evxBmb5xHxNCICwu7K8kpTsEFSCdAgEMOXsO1DkfkA5lje0knPXKAa2uO02MS2Mo5Ex_XoBk4NjvJgGfUUlKufY2_U2qM3y2k7pm04nrlUq83h9qmZ_Lkbrp2hv1L_2RwedHv9fo9f-dEmi5XgoSIPqJ3Emcx-Mln9AuvK_R73T3DZbGUDFzCLnDPv7jYBb4lKT4GN-I0Ogq3RFzsAvYvdk9twu4gUhiGYQYBwqqEDPbOolLsvLtnRQ3_ULL3LLSbmt9Yqt1qZSE-3wuYwYRRy_0LxZaIdRX5tFvbtnugqgVmeX0rO3UeMA6XX8C-MySxnZNdr977zapkrcyqBLeY9cwS4GAkBdxhpJPLfSBHM00YTherYEkwjSoeZmAFKNo2QokVVhu7SmBl9HqN20xy0Ts5t0E72uYHSiO7pcNxOE9ekai66d75fosZcbsRiiFoBECEbaPjacr_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OXj5Fc0cnrREuNtYn6U51GIR7HX1nxMAZ4RZlrc-dLFduF3eRxg7SD3iRHxKe5pk0nc7TWTr19JVLrO-WqtLi5Uqn9bxgyd-G0atKVz5zTkV5SomSBLP1oWWEhSQM5Zd8qDmIvdIX_IpMYH57VObXYnXy7guOH8xPnhlP4_L3YtXv_8mQukJiUno6hQj6oHAFn9at0ZnFLFHpSChX1w3h2_DhAb6YInGzGk-DIttYK7xVZ4X134qaE9W8vXna0RyPGo3U43OKcaFZgsPyYFS9VH8cnvdLWHvOhFTZabG8VWqvf6Ltqx9-q2-r_K6b7kUeKXXOLi76_U5-EorS1bBehzaPhEZVfu_d7-ZJUBgPJuG7lDIRf5yevr29nSRILvkcvxOKT0IenybABNp81leEPyuq0yH8u1kM9T-TKy6YrozLEfkwVKfbKYF25gNNWUEbTJmpMJe6Jpzfdg5kqq8-784I_8N5MTb65u2_2njq6X_5te2r081f5_8fpeRuvQ==
Screenshots
No response
- Langage dominant
- Lua
- Étoiles
- 5.6k
- Forks
- 2.5k
- Merge moyen
- 1 j 13 h
- PR mergées (30 j)
- 59
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de PathOfBuildingCommunity/PathOfBuilding
-
bug: accuracy
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
PathOfBuildingCommunity/PathOfBuilding#10649 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
PathOfBuildingCommunity/PathOfBuilding#10646 ·
Les mainteneurs répondent en général sous 1 jour
-
Runecraft of the Gauche does not existPeut-être pris @zubSero l’a pris il y a 1 jour. Ouvertebug: accuracy
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
PathOfBuildingCommunity/PathOfBuilding#10511 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Augyre rotating buff: dropdown shows Elemental Overload but Resolute Technique is applied, and the choice is lost on savePeut-être pris @zubSero l’a pris il y a 5 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
PathOfBuildingCommunity/PathOfBuilding#10431 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Newly picked gem keeps its level 1 attribute requirement until the group is reprocessedPeut-être pris @zubSero l’a pris il y a 5 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 79/100
PathOfBuildingCommunity/PathOfBuilding#10428 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de PathOfBuildingCommunity/PathOfBuilding
Issues similaires
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
nvim-orgmode/orgmode#1213 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 92/100
version-fox/vfox-php#41 ·
Les mainteneurs répondent en général sous 1 jour
-
bug(image): image disappears when returning to an existing image buffer (hidden never reset)Peut-être pris @ApexGP l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 79/100
folke/snacks.nvim#3011 ·
-
easy first-contributor first-contributors good first issue help wanted lua up-for-grabs
Difficulté 1/5 1-3 heures Accessibilité débutants 94/100
fork-commit-merge/fork-commit-merge#8750 ·
Les mainteneurs répondent en général sous 1 jour
-
Typo in yaml templateOuverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 75/100
NaixGames/Polycosmos#81 ·