From 029bb8a7ef733748108b616e5156a06d231ecc3a Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 5 Jul 2021 16:34:30 -0300 Subject: delitem() is now a safe function, so remove broken code from the crypt doors. --- npc/027-3/general_krukan_door.txt | 6 +++--- npc/027-4/general_razha_door.txt | 6 +++--- npc/027-5/general_terogan_door.txt | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/npc/027-3/general_krukan_door.txt b/npc/027-3/general_krukan_door.txt index 995c6f60..9f7c632d 100644 --- a/npc/027-3/general_krukan_door.txt +++ b/npc/027-3/general_krukan_door.txt @@ -1,9 +1,9 @@ 027-3,92,88,0 script #GeneralDoor1 NPC45,1,0,{ - if ( (countitem("CryptKey") < 10) && ($@CRYPT_FIGHT1 != 0) ) - goto L_NoKeys; + //if ( (countitem("CryptKey") < 10) && ($@CRYPT_FIGHT1 != 0) ) + // goto L_NoKeys; - delitem "CryptKey", 10; + //delitem "CryptKey", 10; warp "027-6",39,60; goto L_close; diff --git a/npc/027-4/general_razha_door.txt b/npc/027-4/general_razha_door.txt index 68db1550..2225c2a6 100644 --- a/npc/027-4/general_razha_door.txt +++ b/npc/027-4/general_razha_door.txt @@ -1,9 +1,9 @@ 027-4,73,76,0 script #GeneralDoor2 NPC45,1,0,{ - if ( (countitem("CryptKey") < 10) && ($@CRYPT_FIGHT2 != 0) ) - goto L_NoKeys; + //if ( (countitem("CryptKey") < 10) && ($@CRYPT_FIGHT2 != 0) ) + // goto L_NoKeys; - delitem "CryptKey", 10; + //delitem "CryptKey", 10; warp "027-7",39,60; goto L_close; diff --git a/npc/027-5/general_terogan_door.txt b/npc/027-5/general_terogan_door.txt index 4a3f8946..3929685a 100644 --- a/npc/027-5/general_terogan_door.txt +++ b/npc/027-5/general_terogan_door.txt @@ -1,9 +1,9 @@ 027-5,70,25,0 script #GeneralDoor3 NPC45,1,0,{ - if ( (countitem("CryptKey") < 10) && ($@CRYPT_FIGHT3 != 0) ) - goto L_NoKeys; + //if ( (countitem("CryptKey") < 10) && ($@CRYPT_FIGHT3 != 0) ) + // goto L_NoKeys; - delitem "CryptKey", 10; + //delitem "CryptKey", 10; warp "027-8",39,60; goto L_close; -- cgit v1.2.3-60-g2f50