From 8b34aba1d5d518e5499bfff83a9c746c99d48c60 Mon Sep 17 00:00:00 2001 From: mattyx14 <mattyx14@users.noreply.github.com> Date: Wed, 16 Mar 2016 16:41:46 -0600 Subject: [PATCH] fix here --- .../actions/scripts/liquids/strengthening_potions.lua | 2 +- path_10_9/data/actions/scripts/other/firebug.lua | 8 -------- path_10_9/data/actions/scripts/other/musicbox.lua | 4 +--- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/path_10_9/data/actions/scripts/liquids/strengthening_potions.lua b/path_10_9/data/actions/scripts/liquids/strengthening_potions.lua index 67b18974f..90bae797e 100644 --- a/path_10_9/data/actions/scripts/liquids/strengthening_potions.lua +++ b/path_10_9/data/actions/scripts/liquids/strengthening_potions.lua @@ -32,7 +32,7 @@ function onUse(player, item, fromPosition, target, toPosition, isHotkey) end end - player:addAchievementProgress('Potion Addict', 100000) + -- player:addAchievementProgress('Potion Addict', 100000) player:addCondition(useItem) player:getPosition():sendMagicEffect(CONST_ME_MAGIC_RED) item:remove(1) diff --git a/path_10_9/data/actions/scripts/other/firebug.lua b/path_10_9/data/actions/scripts/other/firebug.lua index a6c1b05ad..9a63c3dd3 100644 --- a/path_10_9/data/actions/scripts/other/firebug.lua +++ b/path_10_9/data/actions/scripts/other/firebug.lua @@ -1,12 +1,4 @@ function onUse(player, item, fromPosition, target, toPosition, isHotkey) - --Dreamer Challenge Quest - if target.uid == 2243 then - target:transform(1387) - toPosition:sendMagicEffect(CONST_ME_FIREAREA) - item:remove() - return true - end - local random = math.random(10) if random >= 4 then --success 6% chance if target.itemid == 7538 then --Destroy spider webs/North - South diff --git a/path_10_9/data/actions/scripts/other/musicbox.lua b/path_10_9/data/actions/scripts/other/musicbox.lua index b6f0832d0..7d1f1f1a2 100644 --- a/path_10_9/data/actions/scripts/other/musicbox.lua +++ b/path_10_9/data/actions/scripts/other/musicbox.lua @@ -11,9 +11,7 @@ local config = { } function onUse(player, item, fromPosition, target, toPosition, isHotkey) - if not target:isCreature() - or not target:isMonster() - or target:getMaster() then + if not target:isCreature() or not target:isMonster() or target:getMaster() then return false end