Eluna Lua Engine © 是嵌入到魔兽世界模拟器中的lua引擎。 Eluna支持MaNGOS,CMaNGOS,TrinityCore和AzerothCore。 我们目前正在努力使Eluna从内到外变得更好。
如果您在安装或脚本方面遇到问题,请随时提出问题。 有关文档和参考,请参阅Eluna API (AC版) and Lua 参考手册.
一个AzerothCore的Eluna模块。
如何安装:
1) 下载源代码
您可以使用 git 获取源代码。
使用 git 下载
- 在命令行中打开
azerothcore-wotlk
的文件夹。 - 进入 modules 文件夹:
cd modules
- 使用以下命令下载模块源代码。(需翻墙,如没有能力下载可下载本站保存版本)
git clone https://github.com/azerothcore/mod-eluna.git mod-eluna
2) 构建
您需要再次运行 cmake 并重新生成项目。
AC版的Eluna API: https://www.azerothcore.org/pages/eluna/index.html
更新内容
Additions from Eluna/master
Player
Added RegisterPlayerEvent 43 (PLAYER_EVENT_ON_PET_ADDED_TO_WORLD) fires for pets and summoned creatures
Added RegisterPlayerEvent 44 (PLAYER_EVENT_ON_LEARN_SPELL)
Added RegisterPlayerEvent 45 (PLAYER_ON_ACHIEVEMENT_COMPLETE)
Added RegisterPlayerEvent 46 (PLAYER_EVENT_ON_FFAPVP_CHANGE)
Added RegisterPlayerEvent 47 (PLAYER_EVENT_ON_UPDATE_AREA)
Added RegisterPlayerEvent 48 (PLAYER_EVENT_ON_CAN_INIT_TRADE)
Added RegisterPlayerEvent 49 (PLAYER_EVENT_ON_CAN_SEND_MAIL)
Added RegisterPlayerEvent 50 (PLAYER_EVENT_ON_CAN_JOIN_LFG)
Added RegisterPlayerEvent 51 (PLAYER_EVENT_ON_QUEST_REWARD_ITEM)
Added RegisterPlayerEvent 52 (PLAYER_EVENT_ON_CREATE_ITEM)
Added RegisterPlayerEvent 53 (PLAYER_EVENT_ON_STORE_NEW_ITEM)
Added Player:GetMailCount()
Added Player:GetXP()
Added Player:GetAchievementCriteriaProgress()
Added vendor entry as argument to Player:SendListInventory(object, vendorentry)
Group
Added Group:GetGroupType()
Unit
Added Unit:ModifyThreatPct()
GameObject
Added GameObject:AddLoot() to add loot at runtime to an empty container
Object
Added Object:IsPlayer()
Item
Added Item:GetItemTemplate()
Misc
Added HttpRequest()
Added GetItemTemplate(itemEntry)
Added ChatHandler methods
Added ItemTemplate methods
Added logging with ELUNA_LOG_INFO for RunCommand()
Added GetOwnerHalaa and SetOwnerHalaa
主题授权提示:请在后台主题设置-主题授权-激活主题的正版授权,授权购买:RiTheme官网
评论(0)