OpenMW
|
#include <aicombataction.hpp>
Public Member Functions | |
ActionSpell (const std::string &spellId) | |
virtual void | prepare (const MWWorld::Ptr &actor) |
Sets the given spell as selected on the actor's spell list. More... | |
virtual float | getCombatRange (bool &isRanged) const |
Public Member Functions inherited from MWMechanics::Action | |
virtual | ~Action () |
virtual float | getActionCooldown () |
virtual const ESM::Weapon * | getWeapon () const |
virtual bool | isAttackingOrSpell () const |
virtual bool | isFleeing () const |
Public Attributes | |
std::string | mSpellId |
|
inline |
|
virtual |
|
virtual |
Sets the given spell as selected on the actor's spell list.
Implements MWMechanics::Action.
std::string MWMechanics::ActionSpell::mSpellId |