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

Go to the source code of this file.

Classes

class  MWMechanics::CastSpell
 

Namespaces

 ESM
 ESM/ESP records.
 
 MWMechanics
 Game mechanics and NPC-AI.
 

Functions

ESM::Skill::SkillEnum MWMechanics::spellSchoolToSkill (int school)
 
bool MWMechanics::isSummoningEffect (int effectId)
 
float MWMechanics::getSpellSuccessChance (const ESM::Spell *spell, const MWWorld::Ptr &actor, int *effectiveSchool, bool cap)
 
float MWMechanics::getSpellSuccessChance (const std::string &spellId, const MWWorld::Ptr &actor, int *effectiveSchool, bool cap)
 
int MWMechanics::getSpellSchool (const std::string &spellId, const MWWorld::Ptr &actor)
 
int MWMechanics::getSpellSchool (const ESM::Spell *spell, const MWWorld::Ptr &actor)
 
bool MWMechanics::spellIncreasesSkill (const ESM::Spell *spell)
 Get whether or not the given spell contributes to skill progress. More...
 
bool MWMechanics::spellIncreasesSkill (const std::string &spellId)
 
float MWMechanics::getEffectResistanceAttribute (short effectId, const MagicEffects *actorEffects)
 
float MWMechanics::getEffectResistance (short effectId, const MWWorld::Ptr &actor, const MWWorld::Ptr &caster, const ESM::Spell *spell, const MagicEffects *effects)
 
float MWMechanics::getEffectMultiplier (short effectId, const MWWorld::Ptr &actor, const MWWorld::Ptr &caster, const ESM::Spell *spell, const MagicEffects *effects)
 
bool MWMechanics::checkEffectTarget (int effectId, const MWWorld::Ptr &target, const MWWorld::Ptr &caster, bool castByPlayer)
 Check if the given effect can be applied to the target. If castByPlayer, emits a message box on failure. More...
 
int MWMechanics::getEffectiveEnchantmentCastCost (float castCost, const MWWorld::Ptr &actor)
 
bool MWMechanics::effectTick (CreatureStats &creatureStats, const MWWorld::Ptr &actor, const EffectKey &effectKey, float magnitude)