Functions Documentation | |
Name | staGetMaxStructuralHP |
Syntax | (staGetMaxStructuralHP station) -> hp |
Argument List | station: the station to check for max structural HP |
Returns | number: the structural HP of the station |
Category | station |
Description | Used to get the max structural HP of a station. |
Example |
Taken from &intContainerOnDamage;
; Compute the how powerful the damage is; 100 = enough to destroy all HP (setq maxHP (staGetMaxStructuralHP theObj)) (if (gr maxHP 0) (setq damageAdj (max 1 (divide (multiply 100 damageHP) maxHP))) (block Nil (setq damageAdj 1) (setq maxHP 1) ) ) |
Comment |
Mod of the Month (February '24) |
Featured Mods (random) |
Throwable shield generator V.60 |
Emergency Escape Beacons |
Quality Mods (random) |
Red hole in asteroid station |
BattleZone |
Balanced Mods (random) |
Visible Damage V2 |
Brigand Playership |