-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
acd85e3
commit d635ead
Showing
3 changed files
with
75 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#include "..\script_component.hpp" | ||
/* | ||
* Author: Glowbal, modified by Cplhardcore | ||
* Update the opioid relief effect | ||
* | ||
* Arguments: | ||
* 0: The Unit <OBJECT> | ||
* 1: Opioid Relief Adjustments <NUMBER> | ||
* 2: Time since last update <NUMBER> | ||
* 3: Sync value? <BOOL> | ||
* | ||
* Return Value: | ||
* None | ||
* | ||
* Example: | ||
* [player, 0, 1, false] call kat_vitals_fnc_updateOpioidRelief | ||
* | ||
* Public: No | ||
*/ | ||
|
||
params ["_unit", "_opioidAdjustment", "_deltaT", "_syncValue"]; | ||
_unit setVariable [QEGVAR(pharma,opioidFactor), _opioidAdjustment, _syncValue]; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters