Feature: Added player:CanRewardQuest(questId)/player:CanCompleteRepeatableQuest(questId)

This commit is contained in:
Krisande
2023-05-27 12:36:41 +02:00
committed by GitHub
parent 92818c6311
commit 5da1ba94da

View File

@@ -606,6 +606,8 @@ ElunaRegister<Player> PlayerMethods[] =
#ifndef CLASSIC #ifndef CLASSIC
{ "IsInArenaTeam", &LuaPlayer::IsInArenaTeam }, { "IsInArenaTeam", &LuaPlayer::IsInArenaTeam },
#endif #endif
{ "CanRewardQuest", &LuaPlayer::CanRewardQuest },
{ "CanCompleteRepeatableQuest", &LuaPlayer::CanCompleteRepeatableQuest },
{ "CanCompleteQuest", &LuaPlayer::CanCompleteQuest }, { "CanCompleteQuest", &LuaPlayer::CanCompleteQuest },
{ "CanEquipItem", &LuaPlayer::CanEquipItem }, { "CanEquipItem", &LuaPlayer::CanEquipItem },
{ "IsFalling", &LuaPlayer::IsFalling }, { "IsFalling", &LuaPlayer::IsFalling },