diff options
Diffstat (limited to 'npc/018-3/evil-obelisk.txt')
-rw-r--r-- | npc/018-3/evil-obelisk.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/npc/018-3/evil-obelisk.txt b/npc/018-3/evil-obelisk.txt index d9bce317..071936d2 100644 --- a/npc/018-3/evil-obelisk.txt +++ b/npc/018-3/evil-obelisk.txt @@ -1,11 +1,11 @@ 018-3,67,28,0 script Evil Obelisk NPC185,{ if (getq(Quest_Reapercry) == 3) { - mesc l("We've already seen such obelisk before... Do you want to sacrifice %d %s?", 10, getitemlink(Soul)); - if (countitem(Soul) >= 10) { + mesc l("We've already seen such obelisk before... Do you want to sacrifice %d %s?", .souls, getitemlink(Soul)); + if (countitem(Soul) >= .souls) { next; if (askyesno() == ASK_YES) { - delitem Soul, 10; + delitem Soul, .souls; warp "099-7", 95, 31; closeclientdialog; close; @@ -24,4 +24,7 @@ @x1 = 0; @y1 = 0; close; +OnInit: + .souls=25; + end; } |