getRelativeShield
getRelativeShield([number entity]) → integer shield
Returns given
entity's relative shield. To get your own entity's relative shield directly, use
getRelativeShield() with no parameter.
Returns the relative shield of the entity with id entity. To get your own entity's relative shield directly, use getRelativeShield() with no parameter.
Parameters
- entity: The id of the entity whose relative shield will be returned.
Return
- shield: The relative shield of the entity entity, usually an integer between 0* and *100 (it can technically go above 100, but the maximum effective relative shield is 100%).