Shield processing *An object to take the hit for us when using the Durand's defense mode. It is spawned in during the durand's initilization, and always stays on the same tile. Normally invisible, until defense mode is actvated. When the durand detects an attack that should be blocked, the attack is passed to the shield. The shield takes the damage, uses it to calculate charge cost, and then sets its own integrity back to max. Shield is automatically dropped if we run out of power or the user gets out.
|chassis||Our link back to the durand|
|switching||To keep track of things during the animation|
|activate||Handles activating and deactivating the shield.|
Our link back to the durand
To keep track of things during the animation
Handles activating and deactivating the shield.
This proc is called by a signal sent from the mech's action button and
relayed by the mech itself. The "forced" variable,
skip the to-pilot text and is meant for when the shield is disabled by
means other than the action button (like running out of power).
- source: the shield
- owner: mob that activated the shield
- signal_args: whether it's forced