summaryrefslogtreecommitdiff
path: root/npc/018-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-07-05 16:11:20 -0300
committerJesusaves <cpntb1@ymail.com>2021-07-05 16:11:20 -0300
commit617890517395670dd1be6fd3af92e3e6e3e86e80 (patch)
tree4ae4756e1b97ec1ddf8f7974692fd9c4cf70b231 /npc/018-3
parent357f5489d01cf8c48aedc8a505715a5dcf4b996a (diff)
downloadserverdata-617890517395670dd1be6fd3af92e3e6e3e86e80.tar.gz
serverdata-617890517395670dd1be6fd3af92e3e6e3e86e80.tar.bz2
serverdata-617890517395670dd1be6fd3af92e3e6e3e86e80.tar.xz
serverdata-617890517395670dd1be6fd3af92e3e6e3e86e80.zip
As Hocus requested... Players are now able to use the Evil Obelisk to warp to Keshlam.
Diffstat (limited to 'npc/018-3')
-rw-r--r--npc/018-3/evil-obelisk.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/npc/018-3/evil-obelisk.txt b/npc/018-3/evil-obelisk.txt
index df9c71b0..d9bce317 100644
--- a/npc/018-3/evil-obelisk.txt
+++ b/npc/018-3/evil-obelisk.txt
@@ -1,5 +1,17 @@
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) {
+ next;
+ if (askyesno() == ASK_YES) {
+ delitem Soul, 10;
+ warp "099-7", 95, 31;
+ closeclientdialog;
+ close;
+ }
+ }
+ }
@map$ = "018-3";
@x0 = 56;
@y0 = 22;