Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ace medical rewrite update #4

Merged
merged 1 commit into from
Jan 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ private _isPlayer = [_target] call ace_common_fnc_isPlayer;
private _baseDamage = [0.2, 0.1] select _isPlayer;

private _dam = _baseDamage + random (switch (_sel) do {
case "head": {0.2};
case "body": {0.4};
case "head": {0.3};
case "body": {0.6};
case "leg_l";
case "leg_r";
case "hand_l";
case "hand_r"; {0.5};
case "hand_r": {0.75};
default {0}
});

Expand Down
3 changes: 2 additions & 1 deletion addons/zombies/functions/fnc_onVictimHit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ _target setVariable [QGVAR(hitTimeout), CBA_missionTime + 1];
if (!(ACE_PLAYER isEqualTo _target)) exitWith {};

if (random 1 > .2) then {
[41] call ace_medical_fnc_showBloodEffect;
// [41] call ace_medical_fnc_showBloodEffect;
[true, 0.5] call ace_medical_feedback_fnc_effectBleeding;
};

if (!isNil "ace_hitreactions_fnc_fallDown" && {isNull objectParent _target} && {speed _target > 1} && {random 1 > 0.7}) then {
Expand Down
20 changes: 20 additions & 0 deletions hemtt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version = "2"
name = "fpz"
prefix = "fpz"
author = "FP Mod Team"
modname = "fpz"
keyname = "fpz_v{{version}}"
signame = "fpz_v{{version}}"
files = [
"mod.cpp",
"AUTHORS.txt",
"LICENSE",
"logo_ca.paa",
"README.md"
]
reuse_private_key = false
exclude = [
"*.psd",
"*.png",
"*.tga"
]