From b795848e5b5699563c88c8a1182e0452b4338ce4 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 22 Mar 2019 13:22:01 -0300 Subject: Fix CoD barrier, no spam policy, and improve Raid Trousers dr from 0.0049 to 0.005?% --- npc/001-10/scripts.txt | 7 ++++--- npc/soren-2/main.txt | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'npc') diff --git a/npc/001-10/scripts.txt b/npc/001-10/scripts.txt index 09bb4f0c9..85754b351 100644 --- a/npc/001-10/scripts.txt +++ b/npc/001-10/scripts.txt @@ -31,13 +31,14 @@ OnTimeDefeat: } // Magic Barrier -001-10,132,106,0 script #COD_Checkpoint106 NPC_NO_SPRITE,0,7,{ +001-10,132,106,0 script #COD_Checkpoint106 NPC_NO_SPRITE,0,0,{ end; OnTouch: - @COD_CHECKPOINT=1; getmapxy(.@m$, .@x, .@y, 0); slide .@x+2, .@y; - dispbottom l("Checkpoint! Magic Barrier went down!"); + if (!@COD_CHECKPOINT) + dispbottom l("Checkpoint! Magic Barrier went down!"); + @COD_CHECKPOINT=1; end; } diff --git a/npc/soren-2/main.txt b/npc/soren-2/main.txt index 9b413688c..be4c65d7c 100644 --- a/npc/soren-2/main.txt +++ b/npc/soren-2/main.txt @@ -134,7 +134,7 @@ OnSanctum: } // Rare drop - if (rand(1,7000) == 1337) + if (rand(1,6900) == 1337) .@itemId=RaidTrousers; // Core Logic, part 3 -- cgit v1.2.3-60-g2f50