mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-02-22 17:18:12 +01:00
40 lines
984 B
C++
40 lines
984 B
C++
#include "BaseSpellScript.h"
|
|
//Delegate declaration moved to header file
|
|
BaseSpellScript::CreateSpellScriptForAction* BaseSpellScript::CreateSpellScriptFor;
|
|
BaseSpellScript::BaseSpellScript(Spell* spell){
|
|
this->spellId = spell->SpellID;
|
|
this->spell = spell;
|
|
spell->SpellScript = this;
|
|
}
|
|
void BaseSpellScript::StartCasting(Entity* caster, float spellScale)
|
|
{
|
|
}
|
|
void BaseSpellScript::CastingFinished(Entity* caster, float spellScale)
|
|
{
|
|
}
|
|
void BaseSpellScript::CastingFailed(Entity* caster)
|
|
{
|
|
}
|
|
void BaseSpellScript::SpellHit(Entity* caster, Entity* target, BaseWorldSpell* worldSpell, Spell* spell, float spellScale)
|
|
{
|
|
}
|
|
void BaseSpellScript::OnPlayerMove(Entity* caster)
|
|
{
|
|
}
|
|
void BaseSpellScript::COnSpellCastStarted(Entity* player)
|
|
{
|
|
}
|
|
void BaseSpellScript::COnSpellCastSuccess(Entity* player)
|
|
{
|
|
}
|
|
void BaseSpellScript::COnSpellCastFailed(Entity* player)
|
|
{
|
|
}
|
|
void BaseSpellScript::COnSpellCastEnded(Entity* player)
|
|
{
|
|
}
|
|
void BaseSpellScript::OnCastStateChanged(Entity* caster)
|
|
{
|
|
}
|
|
|