You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
396 B
C++
21 lines
396 B
C++
5 years ago
|
#ifndef MWMECHANICS_SPELLABSORPTION_H
|
||
|
#define MWMECHANICS_SPELLABSORPTION_H
|
||
|
|
||
|
namespace ESM
|
||
|
{
|
||
|
struct Spell;
|
||
|
}
|
||
|
|
||
|
namespace MWWorld
|
||
|
{
|
||
|
class Ptr;
|
||
|
}
|
||
|
|
||
|
namespace MWMechanics
|
||
|
{
|
||
|
// Try to absorb a spell based on the magnitude of every Spell Absorption effect source on the target.
|
||
|
bool absorbSpell(const ESM::Spell* spell, const MWWorld::Ptr& caster, const MWWorld::Ptr& target);
|
||
|
}
|
||
|
|
||
|
#endif
|