UFO: Alien Invasion
Loading...
Searching...
No Matches
itemEffect_t Struct Reference

#include <inv_shared.h>

Collaboration diagram for itemEffect_t:
Collaboration graph

Data Fields

bool isPermanent
int duration
int period
float accuracy
float TUs
float power
float mind
float morale

Detailed Description

Definition at line 88 of file inv_shared.h.

Field Documentation

◆ accuracy

float itemEffect_t::accuracy

Definition at line 94 of file inv_shared.h.

Referenced by CHRSH_UpdateCharacterWithEffect().

◆ duration

int itemEffect_t::duration

the turns that the effect is active

Definition at line 90 of file inv_shared.h.

Referenced by INV_ItemDescription().

◆ isPermanent

bool itemEffect_t::isPermanent

true if this effect does not expire

Definition at line 89 of file inv_shared.h.

Referenced by CHRSH_ApplyImplant(), CHRSH_UpdateImplants(), and INV_ItemDescription().

◆ mind

float itemEffect_t::mind

Definition at line 97 of file inv_shared.h.

Referenced by CHRSH_UpdateCharacterWithEffect().

◆ morale

float itemEffect_t::morale

Definition at line 98 of file inv_shared.h.

Referenced by CHRSH_UpdateCharacterWithEffect().

◆ period

int itemEffect_t::period

Frequency to add attribute. This is for effects that are handled outside of the battlescape.

Definition at line 91 of file inv_shared.h.

Referenced by CHRSH_ApplyImplant(), CHRSH_UpdateImplants(), and INV_ItemDescription().

◆ power

float itemEffect_t::power

Definition at line 96 of file inv_shared.h.

Referenced by CHRSH_UpdateCharacterWithEffect().

◆ TUs

float itemEffect_t::TUs

Definition at line 95 of file inv_shared.h.

Referenced by CHRSH_UpdateCharacterWithEffect().


The documentation for this struct was generated from the following file: