The Battle for Wesnoth  1.15.2+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 29 of file abilities.hpp.

Constructor & Destructor Documentation

◆ individual_effect()

unit_abilities::individual_effect::individual_effect ( )
inline

Definition at line 31 of file abilities.hpp.

References t.

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 1248 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 36 of file abilities.hpp.

◆ loc

map_location unit_abilities::individual_effect::loc

Definition at line 37 of file abilities.hpp.

◆ type

value_modifier unit_abilities::individual_effect::type

Definition at line 34 of file abilities.hpp.

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

◆ value

int unit_abilities::individual_effect::value

Definition at line 35 of file abilities.hpp.

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


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