Functions Documentation
View Function Edit Function
Name shpGetArmorMaxHitPoints
Syntax (shpGetArmorMaxHitPoints ship number)
Argument List ship: The ship that you want to get what the max hp of the segment of armor is.
number: Where on the ship the armor you want to get the max hp of.
Returns number: The max hp of the specified armor.
Category ship, armor
Description Returns how many hp the given armor of the ship has.
Comment Useful for repairing armor or doing damage proportional to the max hp of the armor.