Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
DotDamageEffect.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
13{
22 proto external void DealDot(float timeSlice, SCR_ExtendedDamageManagerComponent dmgManager);
23 /*
24 Applies DOT equivalent to timeSlice seconds, with default logic override options.
25 This method automatically increases total damage, but not duration.
26 Keep in mind that if this method is used, GetDPS() might not be accurate anymore.
27 \param HitZone hitzone: This allows you to have the damage effect added to one hitzone, but deal damage to a different one.
28 \param float dotAmount: Amount of damage to be applied
29 \param DotDamageEffectTimerToken token: Instance of DotDamageEffectTimerToken, obtained by calling UpdateTimer().
30 Unlike DealDot, this method doesn't update the timer. The token is here so people don't forget to update the timer when using this method.
31 \param ExtendedDamageManagerComponent dmgManager: DmgManager containing this DamageEffect
32 */
33 proto external void DealCustomDot(notnull HitZone hitzone, float dotAmount, notnull DotDamageEffectTimerToken token, SCR_ExtendedDamageManagerComponent dmgManager);
38 proto external void SetDPS(float dps);
43 proto external void SetMaxDuration(float newMaxduration);
48 proto external void ExtendMaxDuration(float amount);
56 proto external DotDamageEffectTimerToken UpdateTimer(float timeSlice, SCR_ExtendedDamageManagerComponent dmgManager);
63 proto external float GetAccurateTimeSlice(float timeSlice);
67 proto external float GetDPS();
71 proto external float GetCurrentDuration();
72 /*
73 Returns total amount of time this DamageEffect will run for. 0 = infinite duration
74 */
75 proto external float GetMaxDuration();
76}
77