From 8b7bec52ffe5766426b8e4635d765ca85d1f6a83 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 3 Jun 2019 15:26:15 -0300 Subject: Fix bugs and move Sagratha's Campaign to Alpha Testing State --- npc/015-8-1/campaign.txt | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'npc/015-8-1/campaign.txt') diff --git a/npc/015-8-1/campaign.txt b/npc/015-8-1/campaign.txt index 4f3b94473..24a6ffaa8 100644 --- a/npc/015-8-1/campaign.txt +++ b/npc/015-8-1/campaign.txt @@ -13,22 +13,32 @@ // There is no instance init OnBegin: + .@m$=getmap(); + setq3 HurnscaldQuest_Sagratha, 1; // We're in an instance, ofc. Here we still have player attached. - npctalk3 l("Open your eyes"); - initnpctimer; // Maybe addtimer() would be better? + npctalk3 l("Open your eyes!"); + + monster .@m$, 49, 45, "Real Monster", RedSlime, 1; + // max AI id 4. You are in 49,39 + monster .@m$, 49, 41, "AI Tx", RedSlime, 1, .name$+"::OnError", Size_Medium, 2; + monster .@m$, 51, 41, "AI Xt", RedSlime, 1, .name$+"::OnError", Size_Medium, 2; + + addtimer(5000, "#SaggyDungeonCore::OnError"); end; // Assassin, HoodedNinja, HoodedAssassin (boss) +// Mouboo, ForestMushroom, Fluffy, Sagratha (boss) -OnTimer1000: +OnError: debugmes "Error"; + npctalk "Error"; end; } // Dummy NPC to fire #SaggyDungeonCore when you get close to battle scene -015-8-1,49,38,0 script #SaggyDungeonFire NPC_HIDDEN,0,0,{ +015-8-1,49,39,0 script #SaggyDungeonFire NPC_HIDDEN,1,0,{ end; OnTouch: if (instance_id() < 0) -- cgit v1.2.3-60-g2f50