From 5da1ba94da3b12b01d5ee256307ce72202ae1218 Mon Sep 17 00:00:00 2001 From: Krisande <95944184+New-HavenWotLK@users.noreply.github.com> Date: Sat, 27 May 2023 12:36:41 +0200 Subject: [PATCH] Feature: Added player:CanRewardQuest(questId)/player:CanCompleteRepeatableQuest(questId) --- src/LuaEngine/LuaFunctions.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/LuaEngine/LuaFunctions.cpp b/src/LuaEngine/LuaFunctions.cpp index 7e3b6b9..c4dfa33 100644 --- a/src/LuaEngine/LuaFunctions.cpp +++ b/src/LuaEngine/LuaFunctions.cpp @@ -606,6 +606,8 @@ ElunaRegister PlayerMethods[] = #ifndef CLASSIC { "IsInArenaTeam", &LuaPlayer::IsInArenaTeam }, #endif + { "CanRewardQuest", &LuaPlayer::CanRewardQuest }, + { "CanCompleteRepeatableQuest", &LuaPlayer::CanCompleteRepeatableQuest }, { "CanCompleteQuest", &LuaPlayer::CanCompleteQuest }, { "CanEquipItem", &LuaPlayer::CanEquipItem }, { "IsFalling", &LuaPlayer::IsFalling },