From a9e4cb390f543aab01343957140a501ca5dbae10 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 12 Nov 2019 21:30:09 -0300 Subject: Event Horizon - minor fixes as to when to delete it --- db/re/item_db.conf | 5 +---- npc/003-3/malindou.txt | 6 ++++++ 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; -- cgit v1.2.3-70-g09d2