summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-11-12 21:30:09 -0300
committerJesusaves <cpntb1@ymail.com>2019-11-12 21:30:09 -0300
commita9e4cb390f543aab01343957140a501ca5dbae10 (patch)
treeb097c75002e60efb500fc119499acb3bf58d3c8f
parent1565213f92f590cd80f9d4c0a95ca12b231baa1d (diff)
downloadserverdata-a9e4cb390f543aab01343957140a501ca5dbae10.tar.gz
serverdata-a9e4cb390f543aab01343957140a501ca5dbae10.tar.bz2
serverdata-a9e4cb390f543aab01343957140a501ca5dbae10.tar.xz
serverdata-a9e4cb390f543aab01343957140a501ca5dbae10.zip
Event Horizon - minor fixes as to when to delete it
-rw-r--r--db/re/item_db.conf5
-rw-r--r--npc/003-3/malindou.txt6
2 files changed, 7 insertions, 4 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 47eeb0cff..da0dd14e4 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -14800,10 +14800,7 @@ item_db: (
noauction: true
}
Script: <"
- if (BaseLevel < 40)
- mercenary_create 1211, 3600000;
- else
- delitem MercCard_EH, 1;
+ mercenary_create 1211, 3600000;
">
},
// Additional usable items
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt
index 3da53f9cb..d5ebffd8e 100644
--- a/npc/003-3/malindou.txt
+++ b/npc/003-3/malindou.txt
@@ -541,6 +541,12 @@ OnPCBaseLvUpEvent:
sc_end SC_CASH_RECEIVEITEM;
}
break;
+ // Events
+ case 40:
+ if (countitem(MercCard_EH))
+ delitem MercCard_EH, countitem(MercCard_EH);
+ break;
+ // Referral and Eisten
case 25:
if (#REFERRAL_PROG && BaseLevel == 25 && #REFERRAL_CTRL < 1) {
#REFERRAL_CTRL=1;