413 B
413 B
Function: AddQuestPrereqRace(quest, race)
Description: CanReceiveQuest requires the Player to be of a specific race ID.
Parameters:
quest
(Quest) - Quest object representingquest
.race
(int32) - Integer valuerace
.
Returns: None.
Example:
-- Require the Player to have a race of 1 (Dark Elf) for the Quest
function Init(Quest)
AddQuestPrereqRace(Quest, 1)
end