OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Functions
autocalcspell.hpp File Reference
#include <cfloat>
#include <set>
#include <components/esm/loadspel.hpp>
#include <components/esm/loadskil.hpp>
#include <components/esm/loadrace.hpp>
Include dependency graph for autocalcspell.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 MWMechanics
 Game mechanics and NPC-AI.
 

Functions

std::vector< std::string > MWMechanics::autoCalcNpcSpells (const int *actorSkills, const int *actorAttributes, const ESM::Race *race)
 
std::vector< std::string > MWMechanics::autoCalcPlayerSpells (const int *actorSkills, const int *actorAttributes, const ESM::Race *race)
 
bool MWMechanics::attrSkillCheck (const ESM::Spell *spell, const int *actorSkills, const int *actorAttributes)
 
ESM::Skill::SkillEnum MWMechanics::mapSchoolToSkill (int school)
 
void MWMechanics::calcWeakestSchool (const ESM::Spell *spell, const int *actorSkills, int &effectiveSchool, float &skillTerm)
 
float MWMechanics::calcAutoCastChance (const ESM::Spell *spell, const int *actorSkills, const int *actorAttributes, int effectiveSchool)