Skip to content

Conversation

DocDvorak
Copy link

@DocDvorak DocDvorak commented Apr 11, 2025

Brief Description

  • POWER_INFO[PWR_SHIELD].energy is now exposed as a number field
  • PowerCreep.powers reflects undefined results for missing powers
  • PowerCreep.powers[*].cooldown has had the undefined type removed.
    Even if a PC is not spawned, the cooldown for its powers will be 0.

Checklists

  • Test passed
  • Coding style (indentation, etc)
  • Edits have been made to src/ files not index.d.ts
  • Run npm run compile to update index.d.ts

* `POWER_INFO[PWR_SHIELD].energy` is now exposed as a number field
* `PowerCreep.powers` reflects undefined results for missing powers
* `PowerCreep.powers[*].cooldown` has had the undefined type removed.
  Even if a PC is not spawned, the cooldown for its powers will be 0.
@DocDvorak DocDvorak changed the title Expose PWR_SHIELD energy cost in POWER_INFO const Updates to POWER_INFO and PowerCreep.powers Apr 11, 2025
@DiamondMofeng DiamondMofeng self-assigned this Apr 11, 2025
@DiamondMofeng DiamondMofeng self-requested a review April 11, 2025 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants