From 8bd71270c19342ffda35506de8545f963339c245 Mon Sep 17 00:00:00 2001 From: helldragonpz <46687151+helldragonpz@users.noreply.github.com> Date: Sun, 29 Jan 2023 15:48:31 +0200 Subject: [PATCH] Update hardcoreMode.lua Change GiveItem entry with add AddItem Fixing the script. --- hardcoreMode.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hardcoreMode.lua b/hardcoreMode.lua index 65c6c3b..a5bd880 100644 --- a/hardcoreMode.lua +++ b/hardcoreMode.lua @@ -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()