OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Functions
autocalcspell.cpp File Reference
#include "autocalcspell.hpp"
#include <climits>
#include <limits>
#include "../mwworld/esmstore.hpp"
#include "../mwbase/world.hpp"
#include "../mwbase/environment.hpp"
Include dependency graph for autocalcspell.cpp:

Classes

struct  MWMechanics::SchoolCaps
 

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)