mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
feat(SpellEntry): Add new "Set" methods for updating spell (#290)
This commit is contained in:
@@ -44,7 +44,6 @@
|
||||
#include "GitRevision.h"
|
||||
#include "GroupMgr.h"
|
||||
#include "ScriptedCreature.h"
|
||||
#include "SpellInfo.h"
|
||||
#include "WeatherMgr.h"
|
||||
#include "Battleground.h"
|
||||
#include "MotionMaster.h"
|
||||
|
||||
@@ -1619,6 +1619,67 @@ ElunaRegister<SpellEntry> SpellEntryMethods[] =
|
||||
{ "GetRuneCostID", &LuaSpellEntry::GetRuneCostID },
|
||||
{ "GetEffectBonusMultiplier", &LuaSpellEntry::GetEffectBonusMultiplier },
|
||||
|
||||
// Setters
|
||||
{ "SetCategory", &LuaSpellEntry::SetCategory },
|
||||
{ "SetDispel", &LuaSpellEntry::SetDispel },
|
||||
{ "SetMechanic", &LuaSpellEntry::SetMechanic },
|
||||
{ "SetAttributes", &LuaSpellEntry::SetAttributes },
|
||||
{ "SetAttributesEx", &LuaSpellEntry::SetAttributesEx },
|
||||
{ "SetAttributesEx2", &LuaSpellEntry::SetAttributesEx2 },
|
||||
{ "SetAttributesEx3", &LuaSpellEntry::SetAttributesEx3 },
|
||||
{ "SetAttributesEx4", &LuaSpellEntry::SetAttributesEx4 },
|
||||
{ "SetAttributesEx5", &LuaSpellEntry::SetAttributesEx5 },
|
||||
{ "SetAttributesEx6", &LuaSpellEntry::SetAttributesEx6 },
|
||||
{ "SetAttributesEx7", &LuaSpellEntry::SetAttributesEx7 },
|
||||
{ "SetStances", &LuaSpellEntry::SetStances },
|
||||
{ "SetStancesNot", &LuaSpellEntry::SetStancesNot },
|
||||
{ "SetTargets", &LuaSpellEntry::SetTargets },
|
||||
{ "SetTargetCreatureType", &LuaSpellEntry::SetTargetCreatureType },
|
||||
{ "SetRequiresSpellFocus", &LuaSpellEntry::SetRequiresSpellFocus },
|
||||
{ "SetFacingCasterFlags", &LuaSpellEntry::SetFacingCasterFlags },
|
||||
{ "SetCasterAuraState", &LuaSpellEntry::SetCasterAuraState },
|
||||
{ "SetTargetAuraState", &LuaSpellEntry::SetTargetAuraState },
|
||||
{ "SetCasterAuraStateNot", &LuaSpellEntry::SetCasterAuraStateNot },
|
||||
{ "SetTargetAuraStateNot", &LuaSpellEntry::SetTargetAuraStateNot },
|
||||
{ "SetCasterAuraSpell", &LuaSpellEntry::SetCasterAuraSpell },
|
||||
{ "SetTargetAuraSpell", &LuaSpellEntry::SetTargetAuraSpell },
|
||||
{ "SetExcludeCasterAuraSpell", &LuaSpellEntry::SetExcludeCasterAuraSpell },
|
||||
{ "SetExcludeTargetAuraSpell", &LuaSpellEntry::SetExcludeTargetAuraSpell },
|
||||
{ "SetRecoveryTime", &LuaSpellEntry::SetRecoveryTime },
|
||||
{ "SetCategoryRecoveryTime", &LuaSpellEntry::SetCategoryRecoveryTime },
|
||||
{ "SetInterruptFlags", &LuaSpellEntry::SetInterruptFlags },
|
||||
{ "SetAuraInterruptFlags", &LuaSpellEntry::SetAuraInterruptFlags },
|
||||
{ "SetChannelInterruptFlags", &LuaSpellEntry::SetChannelInterruptFlags },
|
||||
{ "SetProcFlags", &LuaSpellEntry::SetProcFlags },
|
||||
{ "SetProcChance", &LuaSpellEntry::SetProcChance },
|
||||
{ "SetProcCharges", &LuaSpellEntry::SetProcCharges },
|
||||
{ "SetMaxLevel", &LuaSpellEntry::SetMaxLevel },
|
||||
{ "SetBaseLevel", &LuaSpellEntry::SetBaseLevel },
|
||||
{ "SetSpellLevel", &LuaSpellEntry::SetSpellLevel },
|
||||
{ "SetPowerType", &LuaSpellEntry::SetPowerType },
|
||||
{ "SetManaCost", &LuaSpellEntry::SetManaCost },
|
||||
{ "SetManaCostPerlevel", &LuaSpellEntry::SetManaCostPerlevel },
|
||||
{ "SetManaPerSecond", &LuaSpellEntry::SetManaPerSecond },
|
||||
{ "SetManaPerSecondPerLevel", &LuaSpellEntry::SetManaPerSecondPerLevel },
|
||||
{ "SetSpeed", &LuaSpellEntry::SetSpeed },
|
||||
{ "SetStackAmount", &LuaSpellEntry::SetStackAmount },
|
||||
{ "SetEquippedItemClass", &LuaSpellEntry::SetEquippedItemClass },
|
||||
{ "SetEquippedItemSubClassMask", &LuaSpellEntry::SetEquippedItemSubClassMask },
|
||||
{ "SetEquippedItemInventoryTypeMask", &LuaSpellEntry::SetEquippedItemInventoryTypeMask },
|
||||
{ "SetSpellIconID", &LuaSpellEntry::SetSpellIconID },
|
||||
{ "SetActiveIconID", &LuaSpellEntry::SetActiveIconID },
|
||||
{ "SetSpellPriority", &LuaSpellEntry::SetSpellPriority },
|
||||
{ "SetManaCostPercentage", &LuaSpellEntry::SetManaCostPercentage },
|
||||
{ "SetStartRecoveryCategory", &LuaSpellEntry::SetStartRecoveryCategory },
|
||||
{ "SetStartRecoveryTime", &LuaSpellEntry::SetStartRecoveryTime },
|
||||
{ "SetMaxTargetLevel", &LuaSpellEntry::SetMaxTargetLevel },
|
||||
{ "SetSpellFamilyName", &LuaSpellEntry::SetSpellFamilyName },
|
||||
{ "SetMaxAffectedTargets", &LuaSpellEntry::SetMaxAffectedTargets },
|
||||
{ "SetDmgClass", &LuaSpellEntry::SetDmgClass },
|
||||
{ "SetPreventionType", &LuaSpellEntry::SetPreventionType },
|
||||
{ "SetSchoolMask", &LuaSpellEntry::SetSchoolMask },
|
||||
{ "SetRuneCostID", &LuaSpellEntry::SetRuneCostID },
|
||||
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user