Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework armor and shield systems #80

Closed
darozak opened this issue May 26, 2024 · 2 comments
Closed

Rework armor and shield systems #80

darozak opened this issue May 26, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@darozak
Copy link
Owner

darozak commented May 26, 2024

I need to rework the armor and shield systems as follows:

  • Armor and shields provide defense against kinetic, thermal, electrical, and radiation damage.
  • Armor offers ablative resistance to damage. In other words, each hit reduces the ability of the armor to protect against that type of damage.
  • Shields offer absorptive resistance to damage. They remove the same amount of damage every attack but do so at a power cost.
  • Any damage that gets through a robot's shields and armor will kill it.
  • Remove HPs since this will be covered by armor.
  • Remove maxHPs since there is no healing.
@darozak darozak added the enhancement New feature or request label May 26, 2024
@darozak darozak self-assigned this May 26, 2024
@darozak darozak pinned this issue May 26, 2024
@darozak
Copy link
Owner Author

darozak commented Jun 3, 2024

I should generalize the damage and resistance types by simply using arrays for each. Each element of the array will be assigned to a different damage type. For example:
0 = Kinetic
1 = Thermal
2 = Electro Magnetic
3 = Radiological

@darozak
Copy link
Owner Author

darozak commented Jun 20, 2024

Reworked so that it separately tracks different types of damage and defensive systems as described above (48ae353).

@darozak darozak closed this as completed Jun 20, 2024
@darozak darozak unpinned this issue Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant