mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 00:19:56 +00:00
21 lines
396 B
C++
21 lines
396 B
C++
|
#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
|