mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-03 17:21:36 +03:00
Updating for more wood
Updating for more wood from trees like in 1051.
This commit is contained in:
1 parent
14e4e0ac5a
commit
ad1e54af58
1 file changed
+1
-1
@@ -29,7 +29,7 @@ if (_ammo isKindOf "Hatchet_Swing_Ammo" || _ammo isKindOf "Chainsaw_Swing_Ammo")
|
||||
// damage must be going down
|
||||
_damage = damage _tree;
|
||||
if (DZE_TEMP_treedmg < _damage) then {
|
||||
if (_damage < 0.99 && {(random 1) > 0.7}) then {
|
||||
if (_damage < 0.99 && {(random 1) > 0.9}) then {
|
||||
PVDZ_objgather_Knockdown = [_tree,player]; // Ask server to setDamage on tree
|
||||
publicVariableServer "PVDZ_objgather_Knockdown";
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user