Skip to content

Commit

Permalink
fix here
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyx14 committed Mar 16, 2016
1 parent 3dd7814 commit 8b34aba
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 0 additions & 8 deletions path_10_9/data/actions/scripts/other/firebug.lua
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 1 addition & 3 deletions path_10_9/data/actions/scripts/other/musicbox.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8b34aba

Please sign in to comment.