Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Burg Cedric: Versucht Issue 165 zu beheben

Es muss aber leider noch auf den Quest Cache gewartet werden.
  • Loading branch information...
commit 0e0f27a284db166c89f126b084bdfcb05ba1c329 1 parent 9f17c48
@Postremus Postremus authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 scripts/maps/ow-n0004-p0005-o0000.lua
View
6 scripts/maps/ow-n0004-p0005-o0000.lua
@@ -288,8 +288,12 @@ function wache_talk(npc, ch)
end
function wache_trigger(ch, id)
+ local quest_string = "burg_cedric_guard_macguffin"
+ invertika.init_quest_status(ch, quest_string)
+ local q_status = invertika.get_quest_status(ch, quest_string)
+
if mana.being_type(ch) ~= TYPE_MONSTER then
- if mana.chr_inv_count(ch, 40047) == 0 then
+ if mana.chr_inv_count(ch, 40047) == 0 and q_status <= 1 then
local x = mana.posX(ch)
mana.chr_warp(ch, nil, x, 180 * TILESIZE + 16)
if x < 102 * TILESIZE + 16 then
Please sign in to comment.
Something went wrong with that request. Please try again.