mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
c949a07c83
* HandleDamage uses armour values to determine which hitpoint was damaged * Tidied up comments * Newlines * Tabs? In MY code?! * Added uniform caching and option to force disable caching * Review suggestions * Review suggestions/code style * Spelling and select * Removed unnecessary validity check * Apply suggestions from code review Co-Authored-By: commy2 <commy-2@gmx.de> * Tweaks and optimisations, removed _noCache Also fixed cache nil vs empty * Different approach with fewer loops Lookup is now done per-hitpoint and default values cached fnc_getItemArmor made a helper function as it's now only a few lines * Tabs & newlines * Moved uniform logic inside helper function * Optimisations * Tweaks & optimisations, improved formatting * Ignore explosionShielding * Moved getArmor back to separate func, add per-unit caching * Formatting * Review suggestions Co-authored-by: commy2 <commy-2@gmx.de> |
||
---|---|---|
.. | ||
fnc_damageBodyPart.sqf | ||
fnc_getHitpointArmor.sqf | ||
fnc_getItemArmor.sqf | ||
fnc_handleDamage.sqf | ||
fnc_setStructuralDamage.sqf | ||
fnc_setUnconsciousAnim.sqf | ||
fnc_updateBodyPartVisuals.sqf | ||
fnc_updateDamageEffects.sqf | ||
script_component.hpp |