Add files via upload

This commit is contained in:
Dinkledork
2023-03-17 09:25:31 -06:00
committed by GitHub
parent b0a3c479e8
commit 6f443cf36c
13 changed files with 505 additions and 45 deletions

14
Dumbassery.lua Normal file
View File

@@ -0,0 +1,14 @@
--I was being dumb. Don't ask.
local CREATURE_ID = 1069
local ITEM_ID = 65006
local ITEM_COUNT = 1
local REQUIRED_QUEST_ID = 30015
local function OnCreatureKill(event, player, creature)
if creature:GetEntry() == CREATURE_ID and player:HasQuest(REQUIRED_QUEST_ID) then
player:AddItem(ITEM_ID, ITEM_COUNT)
end
end
RegisterPlayerEvent(7, OnCreatureKill)