mirror of
https://github.com/Teh-Dango/Sarge-AI.git
synced 2024-08-30 16:32:11 +00:00
Fixed Bandit Kill Values
The wrong variable was being used when shooting or killing bandits.
This commit is contained in:
parent
1e84ca2fff
commit
02696ac5e4
@ -168,7 +168,7 @@ if ((!isNull _aikiller) && {(_playerUID != "") && {_aikiller isKindOf "Exile_Uni
|
||||
_playerRespect = _aikiller getVariable ["ExileScore", 0];
|
||||
_playerMoney = _aikiller getVariable ["ExileMoney", 0];
|
||||
|
||||
_repChange = SAR_surv_kill_value / 10;
|
||||
_repChange = SAR_band_kill_value / 10;
|
||||
|
||||
_playerRespect = _playerRespect + _repChange;
|
||||
_aikiller setVariable ["ExileScore",_playerRespect];
|
||||
|
@ -147,7 +147,7 @@ if ((!isNull _aikiller) && {(_playerUID != "") && {_aikiller isKindOf "Exile_Uni
|
||||
_playerRespect = _aikiller getVariable ["ExileScore", 0];
|
||||
_playerMoney = _aikiller getVariable ["ExileMoney", 0];
|
||||
|
||||
_repChange = SAR_surv_kill_value / 10;
|
||||
_repChange = SAR_band_kill_value / 10;
|
||||
|
||||
_playerRespect = _playerRespect + _repChange;
|
||||
_aikiller setVariable ["ExileScore",_playerRespect];
|
||||
|
Loading…
Reference in New Issue
Block a user