Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions hardcoreMode.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ function OnSelect(event, player, unit, sender, intid, code)
end

--if player chooses to do hardcore they receive the token
function OnHardCore(event, player, unit, sender, initid, code)
if (initd == 2) then
player:GiveItem(hardCoreItem)
function OnHardCore(event, player, unit, sender, intid, code)
if (intid == 2) then
player:AddItem(hardCoreItem, 1)
--else gossip ends
else
player:GossipComplete()
Expand Down