summaryrefslogtreecommitdiff
path: root/npc/017-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-07-16 23:11:39 -0300
committerJesusaves <cpntb1@ymail.com>2021-07-16 23:11:39 -0300
commitb73cecf2dd621675eeb3674423450b9b5079ee63 (patch)
tree6901aed8524ad9435ddbf646149b670c0067b054 /npc/017-1
parent631b221422448bcb029780b0f2e0838c33c09c4f (diff)
downloadserverdata-b73cecf2dd621675eeb3674423450b9b5079ee63.tar.gz
serverdata-b73cecf2dd621675eeb3674423450b9b5079ee63.tar.bz2
serverdata-b73cecf2dd621675eeb3674423450b9b5079ee63.tar.xz
serverdata-b73cecf2dd621675eeb3674423450b9b5079ee63.zip
Migrate OrumQuest to the QuestSystem, and inheir skills on ported chars.
Diffstat (limited to 'npc/017-1')
-rw-r--r--npc/017-1/flowerpentagram1.txt8
-rw-r--r--npc/017-1/flowerpentagram5.txt6
2 files changed, 7 insertions, 7 deletions
diff --git a/npc/017-1/flowerpentagram1.txt b/npc/017-1/flowerpentagram1.txt
index c16c20c1..f5c18e8a 100644
--- a/npc/017-1/flowerpentagram1.txt
+++ b/npc/017-1/flowerpentagram1.txt
@@ -1,9 +1,9 @@
017-1,95,42,0 script #FlowerPentagram1 NPC400,{
- if (OrumQuest >= 31) goto L_PlacedFifthFlower;
+ if (getq(MagicQuest_DarkMage) >= 31) goto L_PlacedFifthFlower;
- if (OrumQuest > 17) goto L_PlacedFirstFlower;
- if (OrumQuest == 17) goto L_FirstFlower;
+ if (getq(MagicQuest_DarkMage) > 17) goto L_PlacedFirstFlower;
+ if (getq(MagicQuest_DarkMage) == 17) goto L_FirstFlower;
message strcharinfo(0), "Something is odd about this place.";
end;
@@ -32,7 +32,7 @@ L_Place:
goto L_NoFlower;
delitem "OrangeSummonFlower", 1;
mes "You carefully place the magic flower on the marked spot. You feel some tension in the air around you.";
- OrumQuest = 18;
+ setq(MagicQuest_DarkMage, 18);
close2;
areamonster "017-1", 91, 37, 101, 46, "", 1105, 2, "#FlowerPentagram1::OnSquirrelDeath";
areamonster "017-1", 91, 37, 101, 46, "", 1003, 3, "#FlowerPentagram1::OnScorpionDeath";
diff --git a/npc/017-1/flowerpentagram5.txt b/npc/017-1/flowerpentagram5.txt
index 22395d06..b72c7f53 100644
--- a/npc/017-1/flowerpentagram5.txt
+++ b/npc/017-1/flowerpentagram5.txt
@@ -1,8 +1,8 @@
017-1,176,59,0 script #FlowerPentagram5 NPC400,{
- if (OrumQuest >= 31) goto L_PlacedFifthFlower;
+ if (getq(MagicQuest_DarkMage) >= 31) goto L_PlacedFifthFlower;
- if (OrumQuest == 30) goto L_FifthFlower;
+ if (getq(MagicQuest_DarkMage) == 30) goto L_FifthFlower;
message strcharinfo(0), "Something is odd about this place.";
end;
@@ -47,7 +47,7 @@ L_Place:
delitem "RedSummonFlower", 1;
mes "The pressure builds to the point where you don't think you can endure it any longer; the fabric that binds your consciousness together seemingly unravels.";
- OrumQuest = 31;
+ setq(MagicQuest_DarkMage, 31);
close2;
areamonster "017-1", 170, 55, 190, 75, "", 1105, 3, "#FlowerPentagram5::OnSquirrelDeath";
areamonster "017-1", 170, 55, 190, 75, "", 1106, 2, "#FlowerPentagram5::OnMushroomDeath";