From 43d6b5cef1f31427c47d5127dc9ce8ccfa38322f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 3 Jun 2019 16:39:08 -0300 Subject: Clean up --- npc/015-8-1/campaign.txt | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'npc') diff --git a/npc/015-8-1/campaign.txt b/npc/015-8-1/campaign.txt index 352432db7..2e7b7b3ce 100644 --- a/npc/015-8-1/campaign.txt +++ b/npc/015-8-1/campaign.txt @@ -16,19 +16,11 @@ OnBegin: .@m$=getmap(); .@n$=instance_npcname(.name$); - //.@in=getq2(HurnscaldQuest_Sagratha); - //debugmes "Initialized - Inst ID %d", .@in; - //debugmes "Map %s.gat - NPC Name %s", .@m$, .name$; - //debugmes "NPC UUID %s (%s)", instance_npcname(.name$), instance_npcname(.name$, .@in); - - setpcblock(PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_USEITEM|PCBLOCK_COMMANDS|PCBLOCK_SITSTAND|PCBLOCK_IMMUNE|PCBLOCK_CHAT|PCBLOCK_MOVE, true); // Same as 255 + // 255 = PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_USEITEM|PCBLOCK_COMMANDS|PCBLOCK_SITSTAND|PCBLOCK_IMMUNE|PCBLOCK_CHAT|PCBLOCK_MOVE + setpcblock(255, true); setq3 HurnscaldQuest_Sagratha, 1; - // We're in an instance, ofc. Here we still have player attached. - //npctalk3 l("Open your eyes!"); - //npctalk("Sagratha: Open your eyes!", instance_npcname(.name$, .@in), false); - //npctalk("Sagratha: Open your eyes!"); - //mapannounce(.@m$, l("Sagratha: Open your eyes!"), 0); + // Setup boss units .SAGRATHA=monster(.@m$, 52, 40, "Sagratha", Sagratha, 1, .@n$+"::OnSagrathaDie", Size_Medium, 2); .BOSS=monster(.@m$, 52, 40, l("Masked Assassin"), HoodedAssassin, 1, .@n$+"::OnSagrathaWin"); @@ -87,7 +79,8 @@ OnS04: mapannounce(.@m$, "##1"+l("Defeat Conditions: Sagratha gets killed!"), 0); // Status cleanup - setpcblock(PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_USEITEM|PCBLOCK_COMMANDS|PCBLOCK_SITSTAND|PCBLOCK_IMMUNE|PCBLOCK_CHAT|PCBLOCK_MOVE, false); + // 255 = PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_USEITEM|PCBLOCK_COMMANDS|PCBLOCK_SITSTAND|PCBLOCK_IMMUNE|PCBLOCK_CHAT|PCBLOCK_MOVE + setpcblock(255, false); end; // Assassin, HoodedNinja, HoodedAssassin (boss) -- cgit v1.2.3-70-g09d2