Eluna Lua Engine © is a lua engine embedded to World of Warcraft emulators. Eluna supports MaNGOS, CMaNGOS, TrinityCore and AzerothCore. We are currently working hard to make Eluna better from inside and outside.
If you are having trouble with installation or scripts, please feel free to open an issue. For documentation and reference see Eluna API (AC version) and Lua reference manual.
You can join the official Eluna Discord server, where you'll be able to find resources, releases and support provided by the community:
The official Azerothcore Discord server offers a channel dedicated to lua development as well:
An Eluna module for AzerothCore.
You can get the sources using git.
azerothcore-wotlk
foldercd modules
git clone https://github.com/azerothcore/mod-eluna.git mod-eluna
You need to run the cmake again and rebuild the project.
Eluna API for AC: https://www.azerothcore.org/pages/eluna/index.html
RegisterPlayerEvent
43
(PLAYER_EVENT_ON_PET_ADDED_TO_WORLD
) fires for pets and summoned creatures: https://github.com/azerothcore/mod-eluna/pull/3RegisterPlayerEvent
44
(PLAYER_EVENT_ON_LEARN_SPELL
): https://github.com/azerothcore/mod-eluna/pull/46RegisterPlayerEvent
45
(PLAYER_ON_ACHIEVEMENT_COMPLETE
): https://github.com/azerothcore/mod-eluna/pull/47RegisterPlayerEvent
46
(PLAYER_EVENT_ON_FFAPVP_CHANGE
): https://github.com/azerothcore/mod-eluna/pull/63RegisterPlayerEvent
47
(PLAYER_EVENT_ON_UPDATE_AREA
): https://github.com/azerothcore/mod-eluna/pull/65RegisterPlayerEvent
48
(PLAYER_EVENT_ON_CAN_INIT_TRADE
): https://github.com/azerothcore/mod-eluna/pull/83RegisterPlayerEvent
49
(PLAYER_EVENT_ON_CAN_SEND_MAIL
): https://github.com/azerothcore/mod-eluna/pull/85RegisterPlayerEvent
50
(PLAYER_EVENT_ON_CAN_JOIN_LFG
): https://github.com/azerothcore/mod-eluna/pull/86RegisterPlayerEvent
51
(PLAYER_EVENT_ON_QUEST_REWARD_ITEM
): https://github.com/azerothcore/mod-eluna/pull/88RegisterPlayerEvent
52
(PLAYER_EVENT_ON_CREATE_ITEM
): https://github.com/azerothcore/mod-eluna/pull/88RegisterPlayerEvent
53
(PLAYER_EVENT_ON_STORE_NEW_ITEM
): https://github.com/azerothcore/mod-eluna/pull/88RegisterPlayerEvent
54
(PLAYER_EVENT_ON_COMPLETE_QUEST
): https://github.com/azerothcore/mod-eluna/pull/90RegisterPlayerEvent
55
(PLAYER_EVENT_ON_CAN_GROUP_INVITE
): https://github.com/azerothcore/mod-eluna/pull/100RegisterPlayerEvent
56
(PLAYER_EVENT_ON_GROUP_ROLL_REWARD_ITEM
): https://github.com/azerothcore/mod-eluna/pull/119RegisterPlayerEvent
57
(PLAYER_EVENT_ON_BG_DESERTION
): https://github.com/azerothcore/mod-eluna/pull/146Player:GetMailCount()
: https://github.com/azerothcore/mod-eluna/pull/76Player:GetXP()
: https://github.com/azerothcore/mod-eluna/pull/77Player:GetAchievementCriteriaProgress()
: https://github.com/azerothcore/mod-eluna/pull/78Player:SendListInventory(object, vendorentry)
: https://github.com/azerothcore/mod-eluna/pull/48Player:GetPlayerSettingValue()
and Player:UpdatePlayerSetting()
: https://github.com/azerothcore/mod-eluna/pull/125Player:GetTrader()
: https://github.com/azerothcore/mod-eluna/pull/126Player:CanCompleteRepeatableQuest(questId)
: https://github.com/azerothcore/mod-eluna/pull/141Player:CanRewardQuest(questId)
: https://github.com/azerothcore/mod-eluna/pull/141Player:SetGlyph(glyphId, slotIndex)
: https://github.com/azerothcore/mod-eluna/pull/152Group:GetGroupType()
: https://github.com/azerothcore/mod-eluna/pull/82Group:SetMemberFlag()
: https://github.com/azerothcore/mod-eluna/pull/102Unit:ModifyThreatPct()
: https://github.com/azerothcore/mod-eluna/pull/25Unit:GetAttackers()
: https://github.com/azerothcore/mod-eluna/pull/116Unit:GetThreatList()
: https://github.com/azerothcore/mod-eluna/pull/117Unit:GetUnitFlags()
: https://github.com/azerothcore/mod-eluna/pull/137Unit:GetUnitFlagsTwo()
: https://github.com/azerothcore/mod-eluna/pull/137Unit:SetUnitFlags(flags)
: https://github.com/azerothcore/mod-eluna/pull/137Unit:SetUnitFlagsTwo(flags)
: https://github.com/azerothcore/mod-eluna/pull/137Unit:SetSpeedRate(unitMoveType, speed)
: https://github.com/azerothcore/mod-eluna/pull/155Unit:SetSpeedRate()
: https://github.com/azerothcore/mod-eluna/pull/155GameObject:AddLoot()
to add loot at runtime to an empty container: https://github.com/azerothcore/mod-eluna/pull/52Object:IsPlayer()
: https://github.com/azerothcore/mod-eluna/pull/42Item:GetItemTemplate()
: https://github.com/azerothcore/mod-eluna/pull/84HttpRequest()
: https://github.com/azerothcore/mod-eluna/pull/2GetItemTemplate(itemEntry)
: https://github.com/azerothcore/mod-eluna/pull/84ChatHandler
methods: https://github.com/azerothcore/mod-eluna/pull/23ItemTemplate
methods: https://github.com/azerothcore/mod-eluna/pull/84Roll
methods: https://github.com/azerothcore/mod-eluna/pull/119ELUNA_LOG_INFO
for RunCommand()
: https://github.com/azerothcore/mod-eluna/pull/75GetOwnerHalaa
and SetOwnerHalaa
: https://github.com/azerothcore/mod-eluna/pull/79WorldDBQueryAsync
, CharDBQueryAsync
and AuthDBQueryAsync
: https://github.com/azerothcore/mod-eluna/pull/113此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。