Files
CypherCore/Source/Framework/Constants/ScriptsConst.cs
T

85 lines
2.0 KiB
C#
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// Copyright (c) CypherCore <http://github.com/CypherCore> All rights reserved.
// Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE file in the project root for full license information.
namespace Framework.Constants
{
public enum SpellScriptState
{
None = 0,
Registration,
Loading,
Unloading,
}
// SpellScript interface - enum used for runtime checks of script function calls
public enum SpellScriptHookType
{
Launch = SpellScriptState.Unloading + 1,
LaunchTarget,
EffectHit,
EffectHitTarget,
EffectSuccessfulDispel,
BeforeHit,
Hit,
AfterHit,
ObjectAreaTargetSelect,
ObjectTargetSelect,
DestinationTargetSelect,
CheckCast,
BeforeCast,
OnCast,
OnResistAbsorbCalculation,
AfterCast,
CalcCritChance,
CalcDamage,
CalcHealing,
OnPrecast,
CalcCastTime,
EmpowerStageCompleted,
EmpowerCompleted
}
// AuraScript interface - enum used for runtime checks of script function calls
public enum AuraScriptHookType
{
EffectApply = SpellScriptState.Unloading + 1,
EffectAfterApply,
EffectRemove,
EffectAfterRemove,
EffectPeriodic,
EffectUpdatePeriodic,
EffectCalcAmount,
EffectCalcPeriodic,
EffectCalcSpellmod,
EffectCalcCritChance,
EffectCalcDamageAndHealing,
EffectAbsorb,
EffectAfterAbsorb,
EffectManaShield,
EffectAfterManaShield,
EffectSplit,
CheckAreaTarget,
Dispel,
AfterDispel,
OnHeartbeat,
EnterLeaveCombat,
// Spell Proc Hooks
CheckProc,
CheckEffectProc,
PrepareProc,
Proc,
EffectProc,
EffectAfterProc,
AfterProc,
//Apply,
//Remove
}
public enum EncounterType
{
DungeonEncounter,
Battleground,
MythicPlusRun
}
}