First commit, step 4 completed

This commit is contained in:
bepis
2026-10-15 14:27:00 +11:00
commit 9a30efa170
5378 changed files with 1136719 additions and 0 deletions
@@ -0,0 +1,51 @@
local SpellConstants =
{
Tables =
{
{
Name = "ConfirmationPromptUIType",
Type = "Enumeration",
NumValues = 5,
MinValue = 0,
MaxValue = 4,
Fields =
{
{ Name = "StaticText", Type = "ConfirmationPromptUIType", EnumValue = 0 },
{ Name = "BonusRoll", Type = "ConfirmationPromptUIType", EnumValue = 1 },
{ Name = "SimpleWarning", Type = "ConfirmationPromptUIType", EnumValue = 2 },
{ Name = "StaticTextAlert", Type = "ConfirmationPromptUIType", EnumValue = 3 },
{ Name = "SimpleWarningAlert", Type = "ConfirmationPromptUIType", EnumValue = 4 },
},
},
{
Name = "SpellAuraVisibilityType",
Type = "Enumeration",
NumValues = 3,
MinValue = 0,
MaxValue = 2,
Fields =
{
{ Name = "RaidInCombat", Type = "SpellAuraVisibilityType", EnumValue = 0 },
{ Name = "RaidOutOfCombat", Type = "SpellAuraVisibilityType", EnumValue = 1 },
{ Name = "EnemyTarget", Type = "SpellAuraVisibilityType", EnumValue = 2 },
},
},
{
Name = "SpellCooldownConsts",
Type = "Constants",
Values =
{
{ Name = "GLOBAL_RECOVERY_CATEGORY", Type = "number", Value = 133 },
{ Name = "COMBAT_POTION_CATEGORY", Type = "number", Value = 4 },
{ Name = "HEALTH_POTION_CATEGORY", Type = "number", Value = 30 },
{ Name = "HEALTHSTONE_CATEGORY", Type = "number", Value = 1711 },
},
},
},
Predicates =
{
},
};
APIDocumentation:AddDocumentationTable(SpellConstants);