OpenBF1942-Plus
Refractor 1, rebuilt from scratch
Loading...
Searching...
No Matches
obf::DamageTable Struct Reference

#include <damage.h>

Public Member Functions

float damage (int attacker, int target) const
std::string effect (int attacker, int target) const

Public Attributes

std::map< int, Material > materials
std::map< std::pair< int, int >, float > mods
std::map< std::pair< int, int >, std::string > effects

Member Function Documentation

◆ damage()

float obf::DamageTable::damage ( int attacker,
int target ) const

◆ effect()

std::string obf::DamageTable::effect ( int attacker,
int target ) const

Member Data Documentation

◆ effects

std::map<std::pair<int, int>, std::string> obf::DamageTable::effects

◆ materials

std::map<int, Material> obf::DamageTable::materials

◆ mods

std::map<std::pair<int, int>, float> obf::DamageTable::mods

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