summaryrefslogtreecommitdiff
path: root/npc/015-8-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-03 16:39:08 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-03 16:39:08 -0300
commit43d6b5cef1f31427c47d5127dc9ce8ccfa38322f (patch)
treea42cc4cf2580d7c7f403242426d13ba610873d05 /npc/015-8-1
parent594c661e6d2342adbac146d418458d7872bac662 (diff)
downloadserverdata-43d6b5cef1f31427c47d5127dc9ce8ccfa38322f.tar.gz
serverdata-43d6b5cef1f31427c47d5127dc9ce8ccfa38322f.tar.bz2
serverdata-43d6b5cef1f31427c47d5127dc9ce8ccfa38322f.tar.xz
serverdata-43d6b5cef1f31427c47d5127dc9ce8ccfa38322f.zip
Clean up
Diffstat (limited to 'npc/015-8-1')
-rw-r--r--npc/015-8-1/campaign.txt17
1 files changed, 5 insertions, 12 deletions
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)