entity_spell_system/Queued/BSScripts/BaseSpellScript.cpp
2019-04-20 14:02:55 +02:00

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)
{
}