Eluna Lua Engine © 是嵌入到魔兽世界模拟器中的lua引擎。 Eluna支持MaNGOS,CMaNGOS,TrinityCore和AzerothCore。 我们目前正在努力使Eluna从内到外变得更好。
如果您在安装或脚本方面遇到问题,请随时提出问题。 有关文档和参考,请参阅Eluna API (AC版) and Lua 参考手册.
您可以加入官方的Eluna Discord服务器,在那里您将能够找到社区提供的资源,版本和支持:
官方的Azerothcore Discord服务器也提供了一个专门用于lua开发的通道:
一个AzerothCore的Eluna模块。
您可以使用 git 获取源代码。
azerothcore-wotlk 的文件夹。cd modulesgit clone https://github.com/azerothcore/mod-eluna.git mod-eluna
您需要再次运行 cmake 并重新生成项目。
AC版的Eluna API: https://www.azerothcore.org/pages/eluna/index.html
PLAYER_EVENT_ON_PET_ADDED_TO_WORLD https://github.com/azerothcore/Eluna/pull/3ModifyThreatPct(). https://github.com/azerothcore/Eluna/pull/25Object:IsPlayer(). https://github.com/azerothcore/Eluna/pull/42PLAYER_EVENT_ON_LEARN_SPELL. https://github.com/azerothcore/mod-eluna/pull/46PLAYER_ON_ACHIEVEMENT_COMPLETE。 https://github.com/azerothcore/mod-eluna/pull/47PLAYER_EVENT_ON_QUEST_REWARD_ITEM。https://github.com/azerothcore/mod-eluna/pull/88PLAYER_EVENT_ON_CREATE_ITEM。https://github.com/azerothcore/mod-eluna/pull/88PLAYER_EVENT_ON_STORE_NEW_ITEM。https://github.com/azerothcore/mod-eluna/pull/88PLAYER_EVENT_ON_COMPLETE_QUEST。https://github.com/azerothcore/mod-eluna/pull/90gameobject:AddLoot(), 可以在线给空的容器中添加战利品。 https://github.com/azerothcore/mod-eluna/pull/52