PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
DPS capped by mana regen
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Lua
- Sterne
- 5.4k
- Forks
- 2.4k
- Ø Merge
- 1 T. 12 Std.
- Gemergte PRs (30 T.)
- 26
Beschreibung
Is your feature request related to a problem? Please describe.
I'm toying with a build which has cast rate of 4.26, doing 810k DPS. Main skill's mana cost is 104. Cast rate is 4.26. But what if I have only 105 mana and my mana regen is 121.8? Such mana pool cannot allow for such cast speed, so the skill is mana-starved, so the DPS should be displayed as much lower. Also tooltips over mana regen / mana size doesn't show impact on dps in such scenario.
Describe the solution you'd like
- calculate "available mana per second" (mps_a) and "required mana per second" (mps_r) for a given skill
- check if they mps_r < mps_a, if not, notify that build is mana-starved
- preferably display estimated mana-starved DPS (
dps_base * min(1.0, mps_a / mps_r)), perhaps in red color?
Describe alternatives you've considered
- the other solution would be just showing mps_r for each skill and mps_a in tree view and/or calculations tab.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Das Issue bietet keinen Datei- oder Test-Einstiegspunkt. Beginne damit nachzuverfolgen, wo DPS pro Skill, Zauberrate, Manakosten und Regeneration berechnet werden; überprüfe anschließend die angezeigte DPS und die mana-bezogenen Tooltips anhand des gemeldeten Beispiels und des angeforderten Verhaltens bei Manamangel.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- lua
- Bereich
- game-dev
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 25/100