summaryrefslogtreecommitdiff
path: root/npc/005-1/ayasha.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/005-1/ayasha.txt')
-rw-r--r--npc/005-1/ayasha.txt36
1 files changed, 13 insertions, 23 deletions
diff --git a/npc/005-1/ayasha.txt b/npc/005-1/ayasha.txt
index 778acd60e..a0dcc76c7 100644
--- a/npc/005-1/ayasha.txt
+++ b/npc/005-1/ayasha.txt
@@ -17,8 +17,7 @@
showavatar NPC_HUMAN_FEMALE_NOOB; // this is handled by avatars.xml
if (strcharinfo(2) == "Monster King" && is_admin()) goto L_MKControl;
- function quest_findAllKids
- {
+ function quest_findAllKids {
setq CandorQuest_HAS, 2;
mesn;
mesq l("Good luck!");
@@ -26,8 +25,7 @@
}
.@has = getq(CandorQuest_HAS);
- if (.@has == 0)
- {
+ if (.@has == 0) {
speech S_LAST_NEXT,
l("Ah, the kids are playing hide and seek, but I am afraid they went too far. A monster attack could start anytime, after all."),
l("I am currently very worried with them. They're just children! They don't know how to fight!"),
@@ -39,18 +37,15 @@
l("I can't, sorry.");
setq CandorQuest_HAS, 1;
- switch (@menu)
- {
+ switch (@menu) {
case 1:
quest_findAllKids;
break;
}
} while (@menu != 2);
- }
- else if (.@has == 1)
- {
+ } else if (.@has == 1) {
mesn;
- mesq l("Even if the city has not been attacked on the last few years, I can't help but be concerned while the kids are playing hide and seek."),
+ mesq l("Even if the city has not been attacked on the last few years, I can't help but be concerned while the kids are playing hide and seek.");
next;
mesq l("Could you perhaps help me to find all kids?");
next;
@@ -61,32 +56,25 @@
l("Yes!"),
l("I can't, sorry.");
- switch (@menu)
- {
+ switch (@menu) {
case 1:
quest_findAllKids;
break;
}
} while (@menu != 2);
- }
- else if (.@has == 2)
- {
+ } else if (.@has == 2) {
mesn;
mesq l("You still haven't found all of them yet.");
close;
- }
- else if (.@has == 3)
- {
+ } else if (.@has == 3) {
speech S_LAST_NEXT,
l("Thank you, here is your reward and... some pocket money.");
narrator("You receive 30 exp and 50 GP.");
- getexp 30, 0;
+ getexp 32, 0;
Zeny = (Zeny + 50);
setq CandorQuest_HAS, 4;
close;
- }
- else
- {
+ } else {
mesn;
mesq l("Thank you for your help.");
if (BaseLevel >= 24 && gettimetick(2) > .RENT_TIME) goto L_Sword;
@@ -142,6 +130,7 @@ L_MKControl:
close;
L_MKSmall:
+ addmapmask "005-1", MASK_MATTACK;
changemusic "005-1", "mythica.ogg";
disablenpc("Mana Stone");
pvpon("005-1");
@@ -233,7 +222,8 @@ OnTimer600000:
end;
OnTimer630000:
- changemusic "005-1", "bartk - the adventure begins.ogg";
+ removemapmask "005-1", MASK_MATTACK;
+ changemusic "005-1", "bartk_adventure.ogg";
enablenpc("Mana Stone");
killmonsterall("005-1", 0);
pvpoff("005-1");