AddShield

Description: Adds a shield of  to a ship.

Example: addShield(NewShipType,"EMP",220,20)

Arguments: : Reference to the ship; this should be NewShipType. : The type of shield; only "EMP" seems available. : Max value of the shield for this ship; the value is in the same units as health and damage. : Time in seconds for the shield to go from 0 to max value.