Shield - Kyle873/DoomRPG GitHub Wiki
Introduction
Shields in Doom RPG will protect you from taking direct damage by absorbing the damage into their own charge pool. When a shield takes damage, it's charge is directly affected and will be reduced by the damage's amount. When a shield's charge reaches 0, you will begin taking normal damage again.
Components
Shields are built from 4 basic components which you can collect and customize during the game.
The body is named after the manufacturer and is generally responsible for modifying the capacity of the Shield, but also evenly modifies the other stats as well.
The battery is generally responsible for modifying the charge rate of the shield.
The capacitor is generally responsible for modifying the charge rate and delay rate of the shield.
Accessories give the shield unique effects and abilities which can be triggered in various ways.
Stats
Each shield has 4 stats which govern it's behavior and ability.
Capacity
The total amount of charge the shield can hold.
Charge Rate
After the initial delay rate, the shield will begin to charge. Every charge cycle the shield's charge will increase by this amount.
Delay Rate
When a shield is struck, it's charging cycle is inturrupted and it must wait this long before charging cycles can begin again.
Charge Interval
An internal stat which is not visible to the player. Determines the length between charge cycles. Only modified by a few types of accessories. Default value is 35 tics (1 second) per cycle.
Basic Shield Package
In order to get a head-start on your first shield, you can purchase the Basic Shield Package from the shop. This package will give you a basic body, battery and capacitor which you can use to build a basic shield. Buying the package will cost you less then buying each of the included parts individually.
Shield boosters are dropped from a specific accessory and will increase your shield's current charge by 10% of it's maximum capacity.