From eed83abb1b7e2a613f3c2c566cd2e4c8c4005313 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 28 Jun 2021 14:16:53 -0300 Subject: Minor style (like setting global variables at Init instead of dialog) --- db/pre-re/item_db.conf | 1 - npc/007-2/witch.txt | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/db/pre-re/item_db.conf b/db/pre-re/item_db.conf index 16cc03d4..bd34ac15 100644 --- a/db/pre-re/item_db.conf +++ b/db/pre-re/item_db.conf @@ -120,7 +120,6 @@ item_db: ( } }, ******************************************************************************/ - { Id: 521 AegisName: "Dagger" diff --git a/npc/007-2/witch.txt b/npc/007-2/witch.txt index 3625bb13..6dcd7d5c 100644 --- a/npc/007-2/witch.txt +++ b/npc/007-2/witch.txt @@ -6,9 +6,8 @@ @illia_iron_powder = 13; @illia_yeti_tear = 1; @illia_iced_water = 4; - $@illia_min_level = 90; - if ((GM >= DBG_VALIA || debug) && getequipid(equip_head) == 647) + if ((GM >= DBG_VALIA || debug) && getequipid(equip_head) == DevelopersCap) goto L_DeveloperBoard; if (BaseLevel < $@illia_min_level) goto L_Unexperienced; @@ -665,6 +664,7 @@ OnInit: disablenpc "#IlliaTorch7"; disablenpc "#IlliaTorch8"; $@illia_max_time = 300; + $@illia_min_level = 90; end; OnCommandToggle: -- cgit v1.2.3-60-g2f50