2016-07-15 10:23:47 +00:00
|
|
|
/*
|
|
|
|
* Author: KoffeinFlummi
|
|
|
|
* Callback when the morphine treatment is complete
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* 0: The medic <OBJECT>
|
|
|
|
* 1: The patient <OBJECT>
|
2016-10-05 22:54:57 +00:00
|
|
|
* 2: Body part <STRING>
|
|
|
|
* 3: Treatment class name <STRING>
|
2016-07-15 10:23:47 +00:00
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* None
|
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
2016-10-05 22:54:57 +00:00
|
|
|
|
2016-07-15 10:23:47 +00:00
|
|
|
#define MORPHINEHEAL 0.4
|
|
|
|
|
|
|
|
params ["_caller", "_target"];
|
|
|
|
|
2016-10-05 22:54:57 +00:00
|
|
|
[QGVAR(treatmentMorphineLocal), [_target], _target] call CBA_fnc_targetEvent;
|