The Battle for Wesnoth  1.19.5+dev
Public Member Functions | Public Attributes | List of all members
unit_abilities::individual_effect Struct Reference

#include <abilities.hpp>

Public Member Functions

 individual_effect ()
 
void set (value_modifier t, int val, const config *abil, const map_location &l)
 

Public Attributes

value_modifier type
 
int value
 
const configability
 
map_location loc
 

Detailed Description

Definition at line 30 of file abilities.hpp.

Constructor & Destructor Documentation

◆ individual_effect()

unit_abilities::individual_effect::individual_effect ( )
inline

Definition at line 32 of file abilities.hpp.

Member Function Documentation

◆ set()

void unit_abilities::individual_effect::set ( value_modifier  t,
int  val,
const config abil,
const map_location l 
)

Definition at line 2401 of file abilities.cpp.

References t, and attack_type::type().

Referenced by unit_abilities::effect::effect().

Member Data Documentation

◆ ability

const config* unit_abilities::individual_effect::ability

Definition at line 37 of file abilities.hpp.

◆ loc

map_location unit_abilities::individual_effect::loc

Definition at line 38 of file abilities.hpp.

◆ type

value_modifier unit_abilities::individual_effect::type

Definition at line 35 of file abilities.hpp.

Referenced by unit_abilities::effect::effect().

◆ value

int unit_abilities::individual_effect::value

Definition at line 36 of file abilities.hpp.

Referenced by unit_abilities::effect::effect().


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