mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Nerf the amount of backblast received by the firer via reflection. Fix #2890.
This commit is contained in:
parent
8cbf31a375
commit
455c53a084
@ -48,7 +48,7 @@ _affected = (ASLtoAGL _position) nearEntities ["CAManBase", _backblastRange];
|
||||
|
||||
// Damage to the firer
|
||||
private "_distance";
|
||||
_distance = [_position, _direction, _backblastRange, _firer] call FUNC(getDistance);
|
||||
_distance = 2 * ([_position, _direction, _backblastRange, _firer] call FUNC(getDistance));
|
||||
|
||||
TRACE_1("Distance",_distance);
|
||||
|
||||
@ -95,7 +95,7 @@ if (_distance < _backblastRange) then {
|
||||
] call EFUNC(common,addLineToDebugDraw);
|
||||
|
||||
[ _position,
|
||||
_position vectorAdd (_direction vectorMultiply (_distance min _backblastRange)),
|
||||
_position vectorAdd (_direction vectorMultiply ((_distance/2) min _backblastRange)),
|
||||
[1,0,0,1]
|
||||
] call EFUNC(common,addLineToDebugDraw);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user