The Battle for Wesnoth  1.19.5+dev
Classes | Enumerations | Functions
unit_abilities Namespace Reference

Classes

struct  individual_effect
 
class  effect
 

Enumerations

enum  value_modifier {
  NOT_USED , SET , ADD , MUL ,
  DIV
}
 
enum  EFFECTS { EFFECT_DEFAULT =1 , EFFECT_CUMULABLE =2 , EFFECT_WITHOUT_CLAMP_MIN_MAX =3 }
 

Functions

bool filter_base_matches (const config &cfg, int def)
 

Enumeration Type Documentation

◆ EFFECTS

Enumerator
EFFECT_DEFAULT 
EFFECT_CUMULABLE 
EFFECT_WITHOUT_CLAMP_MIN_MAX 

Definition at line 28 of file abilities.hpp.

◆ value_modifier

Enumerator
NOT_USED 
SET 
ADD 
MUL 
DIV 

Definition at line 26 of file abilities.hpp.

Function Documentation

◆ filter_base_matches()

bool unit_abilities::filter_base_matches ( const config cfg,
int  def 
)