UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
itemEffect_s Struct Reference

#include <inv_shared.h>

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

float itemEffect_s::accuracy

Definition at line 94 of file inv_shared.h.

Referenced by CHRSH_UpdateCharacterWithEffect().

int itemEffect_s::duration

the turns that the effect is active

Definition at line 90 of file inv_shared.h.

Referenced by INV_ItemDescription().

bool itemEffect_s::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().

float itemEffect_s::mind

Definition at line 97 of file inv_shared.h.

Referenced by CHRSH_UpdateCharacterWithEffect().

float itemEffect_s::morale

Definition at line 98 of file inv_shared.h.

Referenced by CHRSH_UpdateCharacterWithEffect().

int itemEffect_s::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().

float itemEffect_s::power

Definition at line 96 of file inv_shared.h.

Referenced by CHRSH_UpdateCharacterWithEffect().

float itemEffect_s::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: