Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Toggle main menu visibility
Loading...
Searching...
No Matches
SpellEffectMetadata.h
Go to the documentation of this file.
1
/*
2
* This file is part of Project SkyFire https://www.projectskyfire.org.
3
* See LICENSE.md file for Copyright information
4
*/
5
6
#ifndef SF_SPELL_EFFECT_METADATA_H
7
#define SF_SPELL_EFFECT_METADATA_H
8
9
#include "
Define.h
"
10
11
namespace
Skyfire
12
{
13
namespace
Spells
14
{
15
enum
TriggerSpellRuleKind
16
{
17
TRIGGER_SPELL_RULE_NONE
,
18
TRIGGER_SPELL_RULE_VANISH
,
19
TRIGGER_SPELL_RULE_DEMONIC_EMPOWERMENT_SUCCUBUS
,
20
TRIGGER_SPELL_RULE_STACK_TRIGGER
,
21
TRIGGER_SPELL_RULE_CLOAK_OF_SHADOWS
22
};
23
24
struct
TriggerSpellRule
25
{
26
uint32
TriggerSpellId
;
27
TriggerSpellRuleKind
Kind
;
28
uint32
CastSpellId
;
29
uint32
StackSpellId
;
30
};
31
32
enum
ForceCastDamageRuleKind
33
{
34
FORCE_CAST_DAMAGE_RULE_NONE
,
35
FORCE_CAST_DAMAGE_RULE_REMOVE_AURA
,
36
FORCE_CAST_DAMAGE_RULE_CUSTOM_BASEPOINTS
,
37
FORCE_CAST_DAMAGE_RULE_TRIGGERED_ORIGINAL_CASTER
38
};
39
40
struct
ForceCastDamageRule
41
{
42
uint32
SpellId
;
43
ForceCastDamageRuleKind
Kind
;
44
};
45
46
struct
ShadowFlameScriptRule
47
{
48
uint32
ProtectionAuraSpellId
;
49
uint32
TriggerSpellId
;
50
};
51
52
struct
ProtoTypicalShorteningBlasterSpells
53
{
54
uint32
CasterSpellId
;
55
uint32
TargetSpellId
;
56
};
57
58
TriggerSpellRule
const
*
GetTriggerSpellRule
(
uint32
triggerSpellId);
59
ForceCastDamageRule
const
*
GetForceCastDamageRule
(
uint32
spellId);
60
bool
ShouldSendNoFlyZoneNotification
(
uint32
spellId);
61
uint32
GetKillCreditFallbackCreatureEntry
(
uint32
spellId);
62
bool
ShouldLearnSpellFromEffectDamage
(
uint32
spellId);
63
uint32
GetBendingShinboneTriggerSpellId
(
bool
strongHit);
64
uint32
GetScriptEffectStackRemovalAuraSpellId
(
uint32
scriptSpellId);
65
ShadowFlameScriptRule
const
*
GetShadowFlameScriptRule
(
uint32
scriptSpellId);
66
uint32
GetDecimateScriptTriggerSpellId
(
uint32
scriptSpellId);
67
uint32
GetMirrensDrinkingHatItemId
(
uint32
roll);
68
uint32
GetPlantWarmaulOgreBannerEventId
();
69
uint32
GetMugTransformationItemId
();
70
uint32
GetBrewfestSampleSpellId
();
71
uint32
GetBrutallusBurnRangeAuraSpellId
();
72
uint32
GetGoblinWeatherMachineSpellId
(
uint32
roll);
73
uint32
GetGoldScriptAmount
();
74
uint32
GetEmblazonRunebladeTriggerSpellId
();
75
uint32
GetDeathKnightInitiateVisualSpellId
(
uint32
displayId);
76
uint32
GetDeathboltWardAuraSpellId
();
77
uint32
GetDeathboltReflectedSpellId
();
78
uint32
GetDeathboltDirectSpellId
();
79
uint32
GetSummonGhoulsOnScarletCrusadeSpellId
();
80
bool
IsScriptDespawnSpell
(
uint32
scriptSpellId);
81
uint32
GetGiftOfTheHarvesterFallbackSpellId
();
82
uint32
GetWintergraspRpggDropItemCount
();
83
uint32
GetBigBlizzardBearMountSpellId
(
uint16
ridingSkill);
84
uint32
GetTeleportingScriptSpellId
(
uint32
areaId);
85
uint32
GetGrabCrateParentSpellId
();
86
uint32
GetLightwellHealSpellId
(
uint32
creatureEntry);
87
uint32
GetLightwellChargesAuraSpellId
();
88
ProtoTypicalShorteningBlasterSpells
const
*
GetProtoTypicalShorteningBlasterSpells
(
uint32
roll);
89
uint32
GetJudgementSealTriggerSpellId
(
uint32
judgementSpellId);
90
uint32
GetJudgementFallbackSealTriggerSpellId
(
uint32
sealSpellId);
91
uint32
GetPestilenceBloodPlagueSpellId
();
92
uint32
GetPestilenceFrostFeverSpellId
();
93
uint32
GetCreateHealthstoneTriggeredSpellId
(
uint32
createHealthstoneSpellId);
94
}
95
}
96
97
#endif
Define.h
uint32
std::uint32_t uint32
Definition
Define.h:77
uint16
std::uint16_t uint16
Definition
Define.h:78
Skyfire::Spells
Definition
SpellAuraMetadata.cpp:13
Skyfire::Spells::GetSummonGhoulsOnScarletCrusadeSpellId
uint32 GetSummonGhoulsOnScarletCrusadeSpellId()
Definition
SpellEffectMetadata.cpp:361
Skyfire::Spells::GetLightwellHealSpellId
uint32 GetLightwellHealSpellId(uint32 creatureEntry)
Definition
SpellEffectMetadata.cpp:396
Skyfire::Spells::GetKillCreditFallbackCreatureEntry
uint32 GetKillCreditFallbackCreatureEntry(uint32 spellId)
Definition
SpellEffectMetadata.cpp:242
Skyfire::Spells::GetGoldScriptAmount
uint32 GetGoldScriptAmount()
Definition
SpellEffectMetadata.cpp:327
Skyfire::Spells::ShouldSendNoFlyZoneNotification
bool ShouldSendNoFlyZoneNotification(uint32 spellId)
Definition
SpellEffectMetadata.cpp:237
Skyfire::Spells::GetEmblazonRunebladeTriggerSpellId
uint32 GetEmblazonRunebladeTriggerSpellId()
Definition
SpellEffectMetadata.cpp:332
Skyfire::Spells::GetGiftOfTheHarvesterFallbackSpellId
uint32 GetGiftOfTheHarvesterFallbackSpellId()
Definition
SpellEffectMetadata.cpp:371
Skyfire::Spells::GetScriptEffectStackRemovalAuraSpellId
uint32 GetScriptEffectStackRemovalAuraSpellId(uint32 scriptSpellId)
Definition
SpellEffectMetadata.cpp:261
Skyfire::Spells::GetBendingShinboneTriggerSpellId
uint32 GetBendingShinboneTriggerSpellId(bool strongHit)
Definition
SpellEffectMetadata.cpp:256
Skyfire::Spells::GetGrabCrateParentSpellId
uint32 GetGrabCrateParentSpellId()
Definition
SpellEffectMetadata.cpp:391
Skyfire::Spells::GetDecimateScriptTriggerSpellId
uint32 GetDecimateScriptTriggerSpellId(uint32 scriptSpellId)
Definition
SpellEffectMetadata.cpp:283
Skyfire::Spells::GetDeathboltReflectedSpellId
uint32 GetDeathboltReflectedSpellId()
Definition
SpellEffectMetadata.cpp:351
Skyfire::Spells::ForceCastDamageRuleKind
ForceCastDamageRuleKind
Definition
SpellEffectMetadata.h:33
Skyfire::Spells::FORCE_CAST_DAMAGE_RULE_REMOVE_AURA
@ FORCE_CAST_DAMAGE_RULE_REMOVE_AURA
Definition
SpellEffectMetadata.h:35
Skyfire::Spells::FORCE_CAST_DAMAGE_RULE_TRIGGERED_ORIGINAL_CASTER
@ FORCE_CAST_DAMAGE_RULE_TRIGGERED_ORIGINAL_CASTER
Definition
SpellEffectMetadata.h:37
Skyfire::Spells::FORCE_CAST_DAMAGE_RULE_CUSTOM_BASEPOINTS
@ FORCE_CAST_DAMAGE_RULE_CUSTOM_BASEPOINTS
Definition
SpellEffectMetadata.h:36
Skyfire::Spells::FORCE_CAST_DAMAGE_RULE_NONE
@ FORCE_CAST_DAMAGE_RULE_NONE
Definition
SpellEffectMetadata.h:34
Skyfire::Spells::GetDeathKnightInitiateVisualSpellId
uint32 GetDeathKnightInitiateVisualSpellId(uint32 displayId)
Definition
SpellEffectMetadata.cpp:337
Skyfire::Spells::GetProtoTypicalShorteningBlasterSpells
ProtoTypicalShorteningBlasterSpells const * GetProtoTypicalShorteningBlasterSpells(uint32 roll)
Definition
SpellEffectMetadata.cpp:410
Skyfire::Spells::GetBrewfestSampleSpellId
uint32 GetBrewfestSampleSpellId()
Definition
SpellEffectMetadata.cpp:308
Skyfire::Spells::GetJudgementSealTriggerSpellId
uint32 GetJudgementSealTriggerSpellId(uint32 judgementSpellId)
Definition
SpellEffectMetadata.cpp:418
Skyfire::Spells::GetPestilenceBloodPlagueSpellId
uint32 GetPestilenceBloodPlagueSpellId()
Definition
SpellEffectMetadata.cpp:433
Skyfire::Spells::GetMugTransformationItemId
uint32 GetMugTransformationItemId()
Definition
SpellEffectMetadata.cpp:303
Skyfire::Spells::ShouldLearnSpellFromEffectDamage
bool ShouldLearnSpellFromEffectDamage(uint32 spellId)
Definition
SpellEffectMetadata.cpp:247
Skyfire::Spells::GetMirrensDrinkingHatItemId
uint32 GetMirrensDrinkingHatItemId(uint32 roll)
Definition
SpellEffectMetadata.cpp:289
Skyfire::Spells::GetGoblinWeatherMachineSpellId
uint32 GetGoblinWeatherMachineSpellId(uint32 roll)
Definition
SpellEffectMetadata.cpp:318
Skyfire::Spells::GetDeathboltDirectSpellId
uint32 GetDeathboltDirectSpellId()
Definition
SpellEffectMetadata.cpp:356
Skyfire::Spells::GetTriggerSpellRule
TriggerSpellRule const * GetTriggerSpellRule(uint32 triggerSpellId)
Definition
SpellEffectMetadata.cpp:219
Skyfire::Spells::GetJudgementFallbackSealTriggerSpellId
uint32 GetJudgementFallbackSealTriggerSpellId(uint32 sealSpellId)
Definition
SpellEffectMetadata.cpp:427
Skyfire::Spells::GetWintergraspRpggDropItemCount
uint32 GetWintergraspRpggDropItemCount()
Definition
SpellEffectMetadata.cpp:376
Skyfire::Spells::GetBrutallusBurnRangeAuraSpellId
uint32 GetBrutallusBurnRangeAuraSpellId()
Definition
SpellEffectMetadata.cpp:313
Skyfire::Spells::GetPestilenceFrostFeverSpellId
uint32 GetPestilenceFrostFeverSpellId()
Definition
SpellEffectMetadata.cpp:438
Skyfire::Spells::GetLightwellChargesAuraSpellId
uint32 GetLightwellChargesAuraSpellId()
Definition
SpellEffectMetadata.cpp:405
Skyfire::Spells::GetForceCastDamageRule
ForceCastDamageRule const * GetForceCastDamageRule(uint32 spellId)
Definition
SpellEffectMetadata.cpp:228
Skyfire::Spells::TriggerSpellRuleKind
TriggerSpellRuleKind
Definition
SpellEffectMetadata.h:16
Skyfire::Spells::TRIGGER_SPELL_RULE_CLOAK_OF_SHADOWS
@ TRIGGER_SPELL_RULE_CLOAK_OF_SHADOWS
Definition
SpellEffectMetadata.h:21
Skyfire::Spells::TRIGGER_SPELL_RULE_VANISH
@ TRIGGER_SPELL_RULE_VANISH
Definition
SpellEffectMetadata.h:18
Skyfire::Spells::TRIGGER_SPELL_RULE_DEMONIC_EMPOWERMENT_SUCCUBUS
@ TRIGGER_SPELL_RULE_DEMONIC_EMPOWERMENT_SUCCUBUS
Definition
SpellEffectMetadata.h:19
Skyfire::Spells::TRIGGER_SPELL_RULE_NONE
@ TRIGGER_SPELL_RULE_NONE
Definition
SpellEffectMetadata.h:17
Skyfire::Spells::TRIGGER_SPELL_RULE_STACK_TRIGGER
@ TRIGGER_SPELL_RULE_STACK_TRIGGER
Definition
SpellEffectMetadata.h:20
Skyfire::Spells::IsScriptDespawnSpell
bool IsScriptDespawnSpell(uint32 scriptSpellId)
Definition
SpellEffectMetadata.cpp:366
Skyfire::Spells::GetPlantWarmaulOgreBannerEventId
uint32 GetPlantWarmaulOgreBannerEventId()
Definition
SpellEffectMetadata.cpp:298
Skyfire::Spells::GetDeathboltWardAuraSpellId
uint32 GetDeathboltWardAuraSpellId()
Definition
SpellEffectMetadata.cpp:346
Skyfire::Spells::GetShadowFlameScriptRule
ShadowFlameScriptRule const * GetShadowFlameScriptRule(uint32 scriptSpellId)
Definition
SpellEffectMetadata.cpp:270
Skyfire::Spells::GetBigBlizzardBearMountSpellId
uint32 GetBigBlizzardBearMountSpellId(uint16 ridingSkill)
Definition
SpellEffectMetadata.cpp:381
Skyfire::Spells::GetTeleportingScriptSpellId
uint32 GetTeleportingScriptSpellId(uint32 areaId)
Definition
SpellEffectMetadata.cpp:386
Skyfire::Spells::GetCreateHealthstoneTriggeredSpellId
uint32 GetCreateHealthstoneTriggeredSpellId(uint32 createHealthstoneSpellId)
Definition
SpellEffectMetadata.cpp:443
Skyfire
Definition
AuthPatchTransfer.h:12
Skyfire::Spells::ForceCastDamageRule
Definition
SpellEffectMetadata.h:41
Skyfire::Spells::ForceCastDamageRule::SpellId
uint32 SpellId
Definition
SpellEffectMetadata.h:42
Skyfire::Spells::ForceCastDamageRule::Kind
ForceCastDamageRuleKind Kind
Definition
SpellEffectMetadata.h:43
Skyfire::Spells::ProtoTypicalShorteningBlasterSpells
Definition
SpellEffectMetadata.h:53
Skyfire::Spells::ProtoTypicalShorteningBlasterSpells::CasterSpellId
uint32 CasterSpellId
Definition
SpellEffectMetadata.h:54
Skyfire::Spells::ProtoTypicalShorteningBlasterSpells::TargetSpellId
uint32 TargetSpellId
Definition
SpellEffectMetadata.h:55
Skyfire::Spells::ShadowFlameScriptRule
Definition
SpellEffectMetadata.h:47
Skyfire::Spells::ShadowFlameScriptRule::ProtectionAuraSpellId
uint32 ProtectionAuraSpellId
Definition
SpellEffectMetadata.h:48
Skyfire::Spells::ShadowFlameScriptRule::TriggerSpellId
uint32 TriggerSpellId
Definition
SpellEffectMetadata.h:49
Skyfire::Spells::TriggerSpellRule
Definition
SpellEffectMetadata.h:25
Skyfire::Spells::TriggerSpellRule::TriggerSpellId
uint32 TriggerSpellId
Definition
SpellEffectMetadata.h:26
Skyfire::Spells::TriggerSpellRule::Kind
TriggerSpellRuleKind Kind
Definition
SpellEffectMetadata.h:27
Skyfire::Spells::TriggerSpellRule::CastSpellId
uint32 CastSpellId
Definition
SpellEffectMetadata.h:28
Skyfire::Spells::TriggerSpellRule::StackSpellId
uint32 StackSpellId
Definition
SpellEffectMetadata.h:29
src
server
game
Spells
SpellEffectMetadata.h
Generated on
for Project SkyFire Core by
1.17.0