◆ ActivateCondition()
17 {
18 return true;
19 }
◆ DeactivateCondition()
23 {
24 return false;
25 }
◆ Init()
8 {
14 }
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
Definition Effect.c:49
bool m_TrackActivatedTime
overall time this modifier was active
Definition ModifierBase.c:14
void DisableDeactivateCheck()
Definition ModifierBase.c:86
float m_TickIntervalActive
Definition ModifierBase.c:18
float m_TickIntervalInactive
Definition ModifierBase.c:17
const int DEFAULT_TICK_TIME_INACTIVE
Definition ModifiersManager.c:29
enum eModifierSyncIDs DEFAULT_TICK_TIME_ACTIVE
eModifiers
Definition eModifiers.c:2
Перекрестные ссылки DEFAULT_TICK_TIME_ACTIVE, DEFAULT_TICK_TIME_INACTIVE, DisableDeactivateCheck(), m_ID, m_TickIntervalActive, m_TickIntervalInactive и m_TrackActivatedTime.
◆ OnTick()
28 {
29
30 float blood =
player.GetHealth(
"GlobalHealth",
"Blood");
31 float health =
player.GetHealth(
"GlobalHealth",
"Health");
32
35
37
40
42
43 }
float m_LastBloodLevel
Definition Health.c:4
float m_LastHealthLevel
Definition Health.c:3
static proto int AbsInt(int i)
Returns absolute value.
Перекрестные ссылки Math::AbsInt(), m_LastBloodLevel и m_LastHealthLevel.
◆ m_LastBloodLevel
◆ m_LastHealthLevel
Объявления и описания членов класса находятся в файле:
- D:/Ishodniki/scripts/4_World/Classes/PlayerModifiers/Modifiers/Health.c