summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--world/map/npc/029-1/barrier.txt8
-rw-r--r--world/map/npc/029-3/parua.txt8
2 files changed, 14 insertions, 2 deletions
diff --git a/world/map/npc/029-1/barrier.txt b/world/map/npc/029-1/barrier.txt
index 1acb0d17..4446ac6c 100644
--- a/world/map/npc/029-1/barrier.txt
+++ b/world/map/npc/029-1/barrier.txt
@@ -9,3 +9,11 @@ L_Block:
message strcharinfo(0), "Some force seems to be blocking you from entering.";
end;
}
+
+029-1.gat,69,61,0|script|#CandorAnnouncer|127
+{
+ end;
+OnCommandTalk:
+ npctalk $@candor_npctalk$;
+ end;
+}
diff --git a/world/map/npc/029-3/parua.txt b/world/map/npc/029-3/parua.txt
index cb236d52..1083df43 100644
--- a/world/map/npc/029-3/parua.txt
+++ b/world/map/npc/029-3/parua.txt
@@ -1,6 +1,8 @@
// Parua's fight
029-3.gat,50,25,0|script|Parua|183
{
+ set $@candor_npctalk$, "The dungeon is now ready for its next victims.";
+ donpcevent "#CandorAnnouncer::OnCommandTalk";
set @FIGHT_CAVE_COST, 20000;
set @FIGHT_CAVE_COST$, "20,000";
set @FIGHT_CAVE_ANNOUNCE_COST, 3000;
@@ -189,7 +191,8 @@ L_NextRound:
areatimer "029-3.gat", 20, 20, 70, 60, 10, "Parua::OnNewRound";
- mapannounce "029-1.gat", "Parua: The next round (level " + $@FIGHT_CAVE_LEVEL + ") is starting with " + $@FIGHT_CAVE_PLAYER_COUNT + " player(s) left alive." , 0;
+ set $@candor_npctalk$, "The next round (level " + $@FIGHT_CAVE_LEVEL + ") is starting with " + $@FIGHT_CAVE_PLAYER_COUNT + " player(s) left alive.";
+ donpcevent "#CandorAnnouncer::OnCommandTalk";
mapannounce "029-3.gat", "Parua: The next round (level " + $@FIGHT_CAVE_LEVEL + ") is starting with " + $@FIGHT_CAVE_PLAYER_COUNT + " player(s) left alive." , 0;
set $@MOB_1_SUMMON, 0;
@@ -322,7 +325,8 @@ OnInit:
L_CleanUp:
npctalk "Game Over";
- mapannounce "029-1.gat", "Parua: The dungeon is now ready for its next victims.", 0;
+ set $@candor_npctalk$, "The dungeon is now ready for its next victims.";
+ donpcevent "#CandorAnnouncer::OnCommandTalk";
areatimer "029-3.gat", 20, 20, 70, 60, 10, "Parua::OnReward";
set $@FIGHT_CAVE_STATUS, 0;
set $@FIGHT_CAVE_PAID, 0;