AddArmour

From The KillerJim Mod Wiki

PlayerProxy::AddArmor

AddArmour.png

Server Only Function - This is an function executes only on the server.

Description

Players have both armor and health; during any impacts the armor is depleted first (see How damage is applied for information on how). This function allows you to add to the armor, effectively increasing the resistance to damage.

If you supply a negative value the armor level will be reduced, below zero the armor is effectively turned off.

Arguments
1 Float Amor
The value to add to the armor, this can be negative.

Playing

Developers

Developer Reference