summaryrefslogtreecommitdiff
path: root/npc/quests/seals/mjolnir_seal.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/quests/seals/mjolnir_seal.txt')
-rw-r--r--npc/quests/seals/mjolnir_seal.txt248
1 files changed, 124 insertions, 124 deletions
diff --git a/npc/quests/seals/mjolnir_seal.txt b/npc/quests/seals/mjolnir_seal.txt
index f52f16050..746167f20 100644
--- a/npc/quests/seals/mjolnir_seal.txt
+++ b/npc/quests/seals/mjolnir_seal.txt
@@ -118,7 +118,7 @@ prontera,124,297,3 script Tialfi 4_M_KID1,{
mes "So which treasure";
mes "would you like to have?";
next;
- switch(select("An item that I can use.:An item that my friend can use.")) {
+ switch(select("An item that I can use.", "An item that my friend can use.")) {
case 1:
mes "[Tialfi]";
mes "I see...";
@@ -344,7 +344,7 @@ prontera,124,297,3 script Tialfi 4_M_KID1,{
mes "[Tialfi]";
mes "If you don't mind, I'd like to ask you to explore this mountain and search for these Dwarven Blacksmiths.";
next;
- switch(select("No.:Okay.")) {
+ switch(select("No.", "Okay.")) {
case 1:
cutin "god_tialpi02",2;
mes "[Tialfi]";
@@ -482,7 +482,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "Why have you";
mes "come to me, human?";
next;
- switch(select("Nothing.:Hey, 'sup!")) {
+ switch(select("Nothing.", "Hey, 'sup!")) {
case 1:
mes "[Austri]";
mes "...";
@@ -502,7 +502,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "What has made";
mes "you come to me?";
next;
- switch(select("Nothing.:Excuse me, sir.")) {
+ switch(select("Nothing.", "Excuse me, sir.")) {
case 1:
mes "[Austri]";
mes "...";
@@ -519,7 +519,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "want to ask";
mes "me about?";
next;
- switch(select("...:About Mjolnir.")) {
+ switch(select("...", "About Mjolnir.")) {
case 1:
.@talk_not = 1;
break;
@@ -539,7 +539,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "[Austri]";
mes "The hilt of Mjolnir was forged shorter than intended. Are you still listening to me?";
next;
- switch(select("...:Yes, sir!:Huh?")) {
+ switch(select("...", "Yes, sir!", "Huh?")) {
default:
.@talk_not = 1;
break;
@@ -555,7 +555,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "Frankly his treasures were";
mes "made by another Dwarf tribe, but we couldn't tolerate his insult. So my ancestors created three treasures of their own.";
next;
- switch(select("...:Boooring!:Oh, wow.")) {
+ switch(select("...", "Boooring!", "Oh, wow.")) {
default:
.@talk_not = 1;
break;
@@ -573,7 +573,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "[Austri]";
mes "It's very sad. Although Mjolnir is the greatest weapon ever, it was very close to being the epitome of craftsmanship.";
next;
- switch(select("...:Epito--what?:Yes sir, I agree.")) {
+ switch(select("...", "Epito--what?", "Yes sir, I agree.")) {
default:
.@talk_not = 1;
break;
@@ -591,7 +591,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "[Austri]";
mes "I must say, a Blacksmith's greatest pride comes when he creates the weapon and armor that can be considered his life's work.";
next;
- switch(select("...:I agree, sir!:Um, yeah.")) {
+ switch(select("...", "I agree, sir!", "Um, yeah.")) {
default:
.@talk_not = 1;
break;
@@ -611,7 +611,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "how powerful Mjolnir is.";
mes "However, humans can never hope to see or even wield Mjolnir. Only a god can handle that kind of force.";
next;
- switch(select("...:Wah wah wah~!:Ah, I understand sir!")) {
+ switch(select("...", "Wah wah wah~!", "Ah, I understand sir!")) {
default:
.@talk_not = 1;
break;
@@ -627,7 +627,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "Yes, it's possible to create";
mes "a Mjolnir suited to humans. Still, it wouldn't be very easy.";
next;
- switch(select("...:Yes, sir!:Yeah, whatever.")) {
+ switch(select("...", "Yes, sir!", "Yeah, whatever.")) {
default:
.@talk_not = 1;
break;
@@ -648,7 +648,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "Perhaps only the gods can be";
mes "sure as to what the future will bring. In any case, we must prepare ourselves for what will happen.";
next;
- switch(select("...:Yes?:Yes, sir!")) {
+ switch(select("...", "Yes?", "Yes, sir!")) {
default:
.@talk_not = 1;
break;
@@ -693,7 +693,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "What has made";
mes "you come to me?";
next;
- switch(select("Nothing.:Excuse me, sir.")) {
+ switch(select("Nothing.", "Excuse me, sir.")) {
case 1:
mes "[Austri]";
mes "...";
@@ -740,7 +740,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "[Austri]";
mes "What made you come to me?";
next;
- switch(select("Nothing.:Hey, sup!")) {
+ switch(select("Nothing.", "Hey, sup!")) {
case 1:
mes "[Austri]";
mes "...";
@@ -758,7 +758,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "What has made";
mes "you come to me?";
next;
- switch(select("Nothing.:Excuse me, sir.")) {
+ switch(select("Nothing.", "Excuse me, sir.")) {
case 1:
mes "[Austri]";
mes "...";
@@ -775,7 +775,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "want to ask";
mes "me about?";
next;
- switch(select("...:About Mjolnir.")) {
+ switch(select("...", "About Mjolnir.")) {
case 1:
.@talk_not = 1;
break;
@@ -795,7 +795,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "[Austri]";
mes "The hilt of Mjolnir was forged shorter than intended. Are you still listening to me?";
next;
- switch(select("...:Yes, sir!:Huh?")) {
+ switch(select("...", "Yes, sir!", "Huh?")) {
default:
.@talk_not = 1;
break;
@@ -811,7 +811,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "Frankly his treasures were";
mes "made by another Dwarf tribe, but we couldn't tolerate his insult. So my ancestors created three treasures of their own.";
next;
- switch(select("...:Boooring!:Oh, wow.")) {
+ switch(select("...", "Boooring!", "Oh, wow.")) {
case 1:
.@talk_not = 1;
break;
@@ -832,7 +832,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "[Austri]";
mes "It's very sad. Although Mjolnir is the greatest weapon ever, it was very close to being the epitome of craftsmanship.";
next;
- switch(select("...:Epito--what?:Yes sir, I agree.")) {
+ switch(select("...", "Epito--what?", "Yes sir, I agree.")) {
default:
.@talk_not = 1;
break;
@@ -850,7 +850,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "[Austri]";
mes "I must say, a Blacksmith's greatest pride comes when he creates the weapon and armor that can be considered his life's work.";
next;
- switch(select("...:I agree, sir!:Um, yeah.")) {
+ switch(select("...", "I agree, sir!", "Um, yeah.")) {
default:
.@talk_not = 1;
break;
@@ -870,7 +870,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "how powerful Mjolnir is.";
mes "However, humans can never hope to see or even wield Mjolnir. Only a god can handle that kind of force.";
next;
- switch(select("...:Wah wah wah~!:Ah, I understand sir!")) {
+ switch(select("...", "Wah wah wah~!", "Ah, I understand sir!")) {
default:
.@talk_not = 1;
break;
@@ -886,7 +886,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "Yes, it's possible to create";
mes "a Mjolnir suited to humans. Still, it wouldn't be very easy.";
next;
- switch(select("...:Yes, sir!:Yeah, whatever.")) {
+ switch(select("...", "Yes, sir!", "Yeah, whatever.")) {
default:
.@talk_not = 1;
break;
@@ -907,7 +907,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "Perhaps only the gods can be";
mes "sure as to what the future will bring. In any case, we must prepare ourselves for what will happen.";
next;
- switch(select("...:Yes?:Yes, sir!")) {
+ switch(select("...", "Yes?", "Yes, sir!")) {
default:
.@talk_not = 1;
break;
@@ -950,7 +950,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{
mes "[Austri]";
mes "What made you come to me?";
next;
- switch(select("Nothing.:Excuse me, sir.")) {
+ switch(select("Nothing.", "Excuse me, sir.")) {
case 1:
mes "[Austri]";
mes "...";
@@ -1052,7 +1052,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "What brings";
mes "you here?";
next;
- switch(select("Nothing.:Excuse me, sir.")) {
+ switch(select("Nothing.", "Excuse me, sir.")) {
case 1:
mes "[Sudri]";
mes "You have too much time on your hands. Why don't you log out and hang out with your friends instead?";
@@ -1077,13 +1077,13 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
.@p_vit = 100;
while(1) {
mes "Sudri : " + .@n_vit + " HP";
- mes "" + strcharinfo(0) + " : " + .@p_vit + " HP";
+ mes "" + strcharinfo(PC_NAME) + " : " + .@p_vit + " HP";
mes "--------------------";
- mes "" + strcharinfo(0) + "";
+ mes "" + strcharinfo(PC_NAME) + "";
mes "initiated";
mes "an attack!";
next;
- switch(select("...?!:Strike Head!:Strike Chest!:Strike Legs!:Take a break.")) {
+ switch(select("...?!", "Strike Head!", "Strike Chest!", "Strike Legs!", "Take a break.")) {
case 1:
.@p_atk = 0;
break;
@@ -1103,23 +1103,23 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
.@n_def = rand(1,3);
.@damage = rand(15,25);
if (.@p_atk == 1) {
- mes "" + strcharinfo(0) + "";
+ mes "" + strcharinfo(PC_NAME) + "";
mes "attacks Sudri's head!";
}
else if (.@p_atk == 2) {
- mes "" + strcharinfo(0) + "";
+ mes "" + strcharinfo(PC_NAME) + "";
mes "strikes Sudri's chest!";
}
else if (.@p_atk == 3) {
- mes "" + strcharinfo(0) + "";
+ mes "" + strcharinfo(PC_NAME) + "";
mes "aims for Sudri's legs!";
}
else if (.@p_atk == 4) {
- mes "" + strcharinfo(0) + "";
+ mes "" + strcharinfo(PC_NAME) + "";
mes "requests a break!";
}
else {
- mes "" + strcharinfo(0) + "'s";
+ mes "" + strcharinfo(PC_NAME) + "'s";
mes "weak point revealed!";
}
if (.@p_atk == .@n_def) {
@@ -1130,7 +1130,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "your attack by twisting";
mes "his small, yet svelte, body.";
mes "--------------------";
- mes "" + strcharinfo(0) + " misses!";
+ mes "" + strcharinfo(PC_NAME) + " misses!";
}
else if (.@n_def == 2) {
mes "--------------------";
@@ -1138,7 +1138,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "attack by crossing";
mes "his stout arms.";
mes "--------------------";
- mes "" + strcharinfo(0) + "'s attack is blocked!";
+ mes "" + strcharinfo(PC_NAME) + "'s attack is blocked!";
}
else if (.@n_def == 3) {
mes "--------------------";
@@ -1146,14 +1146,14 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "attack with a graceful";
mes "leap to the heavens.";
mes "--------------------";
- mes "" + strcharinfo(0) + " misses!";
+ mes "" + strcharinfo(PC_NAME) + " misses!";
}
}
else if (.@p_atk == 4) {
- specialeffect2 EF_HEAL;
+ specialeffect(EF_HEAL, AREA, playerattached());
.@p_vit += 10;
mes "--------------------";
- mes "" + strcharinfo(0) + "";
+ mes "" + strcharinfo(PC_NAME) + "";
mes "has gained 10 HP!";
}
else if (.@p_atk == 1) {
@@ -1186,13 +1186,13 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "lost " + .@damage + " HP!";
}
else if (.@p_atk == 0) {
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
.@p_vit -= 10;
mes "--------------------";
mes "You were hit by";
mes "Sudri's counter attack!";
mes "--------------------";
- mes "" + strcharinfo(0) + " has lost 10 HP!";
+ mes "" + strcharinfo(PC_NAME) + " has lost 10 HP!";
if (.@p_vit < 1) {
mes "Defeated...";
next;
@@ -1206,17 +1206,17 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
close;
}
if (.@n_vit < 1) {
- mes "" + strcharinfo(0) + " wins!";
+ mes "" + strcharinfo(PC_NAME) + " wins!";
next;
break;
}
next;
mes "Sudri : " + .@n_vit + " HP";
- mes "" + strcharinfo(0) + " : " + .@p_vit + " HP";
+ mes "" + strcharinfo(PC_NAME) + " : " + .@p_vit + " HP";
mes "--------------------";
mes "Sudri attacks...!";
next;
- switch(select("...?!:Dodge!:Block!:Jump!:Counter back!")) {
+ switch(select("...?!", "Dodge!", "Block!", "Jump!", "Counter back!")) {
case 1:
.@p_def = 0;
break;
@@ -1245,10 +1245,10 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "Sudri attacks the legs!";
}
if (.@n_atk == .@p_def) {
- specialeffect2 EF_GUARD;
+ specialeffect(EF_GUARD, AREA, playerattached());
if (.@p_def == 1) {
mes "--------------------";
- mes "" + strcharinfo(0) + "";
+ mes "" + strcharinfo(PC_NAME) + "";
mes "quickly dodged!";
mes "Sudri's arms were";
mes "too short and missed!";
@@ -1257,7 +1257,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
}
else if (.@p_def == 2) {
mes "--------------------";
- mes "" + strcharinfo(0) + "";
+ mes "" + strcharinfo(PC_NAME) + "";
mes "barely blocked";
mes "Sudri's attack.";
mes "--------------------";
@@ -1265,7 +1265,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
}
else if (.@p_def == 3) {
mes "--------------------";
- mes "" + strcharinfo(0) + " jumped,";
+ mes "" + strcharinfo(PC_NAME) + " jumped,";
mes "dodged Sudri's attack at ease.";
mes "--------------------";
mes "Sudri has failed to attack.";
@@ -1274,10 +1274,10 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
else if (.@p_def == 4) {
.@count = rand(1,4);
mes "--------------------";
- mes "" + strcharinfo(0) + "";
+ mes "" + strcharinfo(PC_NAME) + "";
mes "counters!";
if (.@count == 1) {
- specialeffect2 EF_AUTOCOUNTER;
+ specialeffect(EF_AUTOCOUNTER, AREA, playerattached());
specialeffect EF_MAGNUMBREAK;
.@n_vit -= 20;
mes "You successfully";
@@ -1285,61 +1285,61 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "--------------------";
mes "Sudri has lost 20 HP!";
if (.@n_vit < 1) {
- mes "" + strcharinfo(0) + " won!";
+ mes "" + strcharinfo(PC_NAME) + " won!";
next;
break;
}
}
else {
- specialeffect2 EF_CRASHEARTH;
+ specialeffect(EF_CRASHEARTH, AREA, playerattached());
.@p_vit -= 30;
mes "You've taken";
mes "critical damage";
mes "on your weak spot!";
mes "--------------------";
- mes "" + strcharinfo(0) + " has lost 30 HP!";
+ mes "" + strcharinfo(PC_NAME) + " has lost 30 HP!";
}
}
else if (.@n_atk == 1) {
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
.@p_vit -= .@damage;
mes "--------------------";
mes "Sudri successfully";
- mes "hit " + strcharinfo(0) + "";
+ mes "hit " + strcharinfo(PC_NAME) + "";
mes "on the head!";
mes "--------------------";
- mes "" + strcharinfo(0) + " has lost " + .@damage + " HP!";
+ mes "" + strcharinfo(PC_NAME) + " has lost " + .@damage + " HP!";
}
else if (.@n_atk == 2) {
- specialeffect2 EF_HIT2;
+ specialeffect(EF_HIT2, AREA, playerattached());
.@p_vit -= .@damage;
mes "--------------------";
mes "Sudri successfully";
- mes "hit " + strcharinfo(0) + "";
+ mes "hit " + strcharinfo(PC_NAME) + "";
mes "on the chest!";
mes "--------------------";
- mes "" + strcharinfo(0) + " has lost " + .@damage + " HP!";
+ mes "" + strcharinfo(PC_NAME) + " has lost " + .@damage + " HP!";
}
else if (.@n_atk == 3) {
- specialeffect2 EF_HIT4;
+ specialeffect(EF_HIT4, AREA, playerattached());
.@p_vit -= .@damage;
mes "--------------------";
mes "Sudri successfully";
- mes "hit " + strcharinfo(0) + "";
+ mes "hit " + strcharinfo(PC_NAME) + "";
mes "on the legs!";
mes "--------------------";
- mes "" + strcharinfo(0) + " has lost " + .@damage + " HP!";
+ mes "" + strcharinfo(PC_NAME) + " has lost " + .@damage + " HP!";
}
else if (.@n_atk == 0) {
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
.@p_vit -= .@damage;
mes "--------------------";
mes "Sudri successfully";
- mes "hits "+ strcharinfo(0) +"";
+ mes "hits "+ strcharinfo(PC_NAME) +"";
mes "during a moment of";
mes "absent-mindedness!";
mes "--------------------";
- mes "" + strcharinfo(0) + " has lost " + .@damage + " HP!";
+ mes "" + strcharinfo(PC_NAME) + " has lost " + .@damage + " HP!";
}
else {
mes "--------------------";
@@ -1385,7 +1385,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "What brings";
mes "you here, human?";
next;
- switch(select("Nothing.:Excuse me, sir.")) {
+ switch(select("Nothing.", "Excuse me, sir.")) {
case 1:
mes "[Sudri]";
mes "You have too much time on your hands. Why don't you log out and hang out with your buddies for a while?";
@@ -1406,7 +1406,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "just talk to you.";
mes "How about it?";
next;
- switch(select("...:Yes, I accept your challenge.:No, I'm scared!")) {
+ switch(select("...", "Yes, I accept your challenge.", "No, I'm scared!")) {
case 1:
god_mjo_2 = 3;
mes "[Sudri]";
@@ -1460,7 +1460,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "[Sudri]";
mes "What made you come to me?";
next;
- switch(select("Nothing.:Excuse me, sir.")) {
+ switch(select("Nothing.", "Excuse me, sir.")) {
case 1:
mes "[Sudri]";
mes "You have too much";
@@ -1485,13 +1485,13 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
.@p_vit = 100;
while(1) {
mes "Sudri : " + .@n_vit + " HP";
- mes "" + strcharinfo(0) + " : " + .@p_vit + " HP";
+ mes "" + strcharinfo(PC_NAME) + " : " + .@p_vit + " HP";
mes "--------------------";
- mes "" + strcharinfo(0) + "";
+ mes "" + strcharinfo(PC_NAME) + "";
mes "initiated";
mes "an attack!";
next;
- switch(select("...?!:Strike Head!:Strike Chest!:Strike Legs!:Take a break.")) {
+ switch(select("...?!", "Strike Head!", "Strike Chest!", "Strike Legs!", "Take a break.")) {
case 1:
.@p_atk = 0;
break;
@@ -1511,23 +1511,23 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
.@n_def = rand(1,3);
.@damage = rand(15,25);
if (.@p_atk == 1) {
- mes "" + strcharinfo(0) + "";
+ mes "" + strcharinfo(PC_NAME) + "";
mes "attacks Sudri's head!";
}
else if (.@p_atk == 2) {
- mes "" + strcharinfo(0) + "";
+ mes "" + strcharinfo(PC_NAME) + "";
mes "strikes Sudri's chest!";
}
else if (.@p_atk == 3) {
- mes "" + strcharinfo(0) + "";
+ mes "" + strcharinfo(PC_NAME) + "";
mes "aims for Sudri's legs!";
}
else if (.@p_atk == 4) {
- mes "" + strcharinfo(0) + "";
+ mes "" + strcharinfo(PC_NAME) + "";
mes "requests a break!";
}
else {
- mes "" + strcharinfo(0) + "'s";
+ mes "" + strcharinfo(PC_NAME) + "'s";
mes "weak point revealed!";
}
if (.@p_atk == .@n_def) {
@@ -1538,7 +1538,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "your attack by twisting";
mes "his small, yet svelte, body.";
mes "--------------------";
- mes "" + strcharinfo(0) + " misses!";
+ mes "" + strcharinfo(PC_NAME) + " misses!";
}
else if (.@n_def == 2) {
mes "--------------------";
@@ -1546,7 +1546,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "attack by crossing";
mes "his stout arms.";
mes "--------------------";
- mes "" + strcharinfo(0) + "'s attack is blocked!";
+ mes "" + strcharinfo(PC_NAME) + "'s attack is blocked!";
}
else if (.@n_def == 3) {
mes "--------------------";
@@ -1554,14 +1554,14 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "attack with a graceful";
mes "leap to the heavens.";
mes "--------------------";
- mes "" + strcharinfo(0) + " misses!";
+ mes "" + strcharinfo(PC_NAME) + " misses!";
}
}
else if (.@p_atk == 4) {
- specialeffect2 EF_HEAL;
+ specialeffect(EF_HEAL, AREA, playerattached());
.@p_vit += 10;
mes "--------------------";
- mes "" + strcharinfo(0) + "";
+ mes "" + strcharinfo(PC_NAME) + "";
mes "has gained 10 HP!";
}
else if (.@p_atk == 1) {
@@ -1594,13 +1594,13 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "lost " + .@damage + " HP!";
}
else if (.@p_atk == 0) {
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
.@p_vit -= 10;
mes "--------------------";
mes "You were hit by";
mes "Sudri's counter attack!";
mes "--------------------";
- mes "" + strcharinfo(0) + " has lost 10 HP!";
+ mes "" + strcharinfo(PC_NAME) + " has lost 10 HP!";
if (.@p_vit < 1) {
mes "Defeated...";
next;
@@ -1614,17 +1614,17 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
close;
}
if (.@n_vit < 1) {
- mes "" + strcharinfo(0) + " wins!";
+ mes "" + strcharinfo(PC_NAME) + " wins!";
next;
break;
}
next;
mes "Sudri : " + .@n_vit + " HP";
- mes "" + strcharinfo(0) + " : " + .@p_vit + " HP";
+ mes "" + strcharinfo(PC_NAME) + " : " + .@p_vit + " HP";
mes "--------------------";
mes "Sudri attacks...!";
next;
- switch(select("...?!:Dodge!:Block!:Jump!:Counter back!")) {
+ switch(select("...?!", "Dodge!", "Block!", "Jump!", "Counter back!")) {
case 1:
.@p_def = 0;
break;
@@ -1653,10 +1653,10 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "Sudri attacks the legs!";
}
if (.@n_atk == .@p_def) {
- specialeffect2 EF_GUARD;
+ specialeffect(EF_GUARD, AREA, playerattached());
if (.@p_def == 1) {
mes "--------------------";
- mes "" + strcharinfo(0) + " quickly dodged,";
+ mes "" + strcharinfo(PC_NAME) + " quickly dodged,";
mes "Sudri's arms were too";
mes "short to reach at you.";
mes "--------------------";
@@ -1664,7 +1664,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
}
else if (.@p_def == 2) {
mes "--------------------";
- mes "" + strcharinfo(0) + "";
+ mes "" + strcharinfo(PC_NAME) + "";
mes "barely blocked";
mes "Sudri's attack.";
mes "--------------------";
@@ -1672,7 +1672,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
}
else if (.@p_def == 3) {
mes "--------------------";
- mes "" + strcharinfo(0) + " jumped,";
+ mes "" + strcharinfo(PC_NAME) + " jumped,";
mes "dodged Sudri's attack at ease.";
mes "--------------------";
mes "Sudri has failed to attack.";
@@ -1681,10 +1681,10 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
else if (.@p_def == 4) {
.@count = rand(1,4);
mes "--------------------";
- mes "" + strcharinfo(0) + "";
+ mes "" + strcharinfo(PC_NAME) + "";
mes "counters!";
if (.@count == 1) {
- specialeffect2 EF_AUTOCOUNTER;
+ specialeffect(EF_AUTOCOUNTER, AREA, playerattached());
specialeffect EF_MAGNUMBREAK;
.@n_vit -= 20;
mes "You successfully";
@@ -1692,61 +1692,61 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "--------------------";
mes "Sudri has lost 20 HP!";
if (.@n_vit < 1) {
- mes "" + strcharinfo(0) + " won!";
+ mes "" + strcharinfo(PC_NAME) + " won!";
next;
break;
}
}
else {
- specialeffect2 EF_CRASHEARTH;
+ specialeffect(EF_CRASHEARTH, AREA, playerattached());
.@p_vit -= 30;
mes "You've taken";
mes "critical damage";
mes "on your weak spot!";
mes "--------------------";
- mes "" + strcharinfo(0) + " has lost 30 HP!";
+ mes "" + strcharinfo(PC_NAME) + " has lost 30 HP!";
}
}
else if (.@n_atk == 1) {
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
.@p_vit -= .@damage;
mes "--------------------";
mes "Sudri successfully";
- mes "hit " + strcharinfo(0) + "";
+ mes "hit " + strcharinfo(PC_NAME) + "";
mes "on the head!";
mes "--------------------";
- mes "" + strcharinfo(0) + " has lost " + .@damage + " HP!";
+ mes "" + strcharinfo(PC_NAME) + " has lost " + .@damage + " HP!";
}
else if (.@n_atk == 2) {
- specialeffect2 EF_HIT2;
+ specialeffect(EF_HIT2, AREA, playerattached());
.@p_vit -= .@damage;
mes "--------------------";
mes "Sudri successfully";
- mes "hit " + strcharinfo(0) + "";
+ mes "hit " + strcharinfo(PC_NAME) + "";
mes "on the chest!";
mes "--------------------";
- mes "" + strcharinfo(0) + " has lost " + .@damage + " HP!";
+ mes "" + strcharinfo(PC_NAME) + " has lost " + .@damage + " HP!";
}
else if (.@n_atk == 3) {
- specialeffect2 EF_HIT4;
+ specialeffect(EF_HIT4, AREA, playerattached());
.@p_vit -= .@damage;
mes "--------------------";
mes "Sudri successfully";
- mes "hit " + strcharinfo(0) + "";
+ mes "hit " + strcharinfo(PC_NAME) + "";
mes "on the legs!";
mes "--------------------";
- mes "" + strcharinfo(0) + " has lost " + .@damage + " HP!";
+ mes "" + strcharinfo(PC_NAME) + " has lost " + .@damage + " HP!";
}
else if (.@n_atk == 0) {
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
.@p_vit -= .@damage;
mes "--------------------";
mes "Sudri successfully";
- mes "hits "+ strcharinfo(0) +"";
+ mes "hits "+ strcharinfo(PC_NAME) +"";
mes "during a moment of";
mes "absent-mindedness!";
mes "--------------------";
- mes "" + strcharinfo(0) + " has lost " + .@damage + " HP!";
+ mes "" + strcharinfo(PC_NAME) + " has lost " + .@damage + " HP!";
}
else {
mes "--------------------";
@@ -1790,7 +1790,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "[Sudri]";
mes "What made you come to me?";
next;
- switch(select("Nothing.:Excuse me, sir.")) {
+ switch(select("Nothing.", "Excuse me, sir.")) {
case 1:
mes "[Sudri]";
mes "You have too much";
@@ -1813,7 +1813,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "just talk to you.";
mes "How about it?";
next;
- switch(select("...:Yes, I accept your challenge.:No, I'm scared!")) {
+ switch(select("...", "Yes, I accept your challenge.", "No, I'm scared!")) {
case 1:
god_mjo_3 = 3;
mes "[Sudri]";
@@ -1934,7 +1934,7 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 4_M_DWARF,{
mes "[Vestri]";
mes "What do you want?";
next;
- switch(select("Nothing.:Excuse me.")) {
+ switch(select("Nothing.", "Excuse me.")) {
case 1:
mes "[Vestri]";
mes "If you want something, you should earn it through your own efforts.";
@@ -2027,7 +2027,7 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 4_M_DWARF,{
mes "If you understand,";
mes "then let's get on with it!";
next;
- if(select("Sure, let's do it!:N-no, I changed my mind!") == 2) {
+ if(select("Sure, let's do it!", "N-no, I changed my mind!") == 2) {
mes "[Vestri]";
mes "Bah...!";
mes "How do you survive";
@@ -2095,7 +2095,7 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 4_M_DWARF,{
mes "[Vestri]";
mes "What do you want?";
next;
- switch(select("Nothing.:Excuse me.")) {
+ switch(select("Nothing.", "Excuse me.")) {
case 1:
mes "[Vestri]";
mes "If you want something, you should earn it through your own efforts.";
@@ -2151,7 +2151,7 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 4_M_DWARF,{
mes "[Vestri]";
mes "What do you want?";
next;
- switch(select("Nothing.:Excuse me.")) {
+ switch(select("Nothing.", "Excuse me.")) {
case 1:
mes "[Vestri]";
mes "If you want something, you should earn it through your own efforts.";
@@ -2238,7 +2238,7 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 4_M_DWARF,{
mes "If you understand,";
mes "then let's get on with it!";
next;
- if(select("Sure, let's do it!:...no, I am out.") == 2) {
+ if(select("Sure, let's do it!", "...no, I am out.") == 2) {
mes "[Vestri]";
mes "Bah...!";
mes "How do you survive";
@@ -2305,7 +2305,7 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 4_M_DWARF,{
mes "[Vestri]";
mes "What do you want?";
next;
- switch(select("Nothing.:Excuse me.")) {
+ switch(select("Nothing.", "Excuse me.")) {
case 1:
mes "[Vestri]";
mes "If you want something, you should earn it through your own efforts.";
@@ -2415,7 +2415,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{
mes "do you have with";
mes "me, human?";
next;
- switch(select("Nothing.:Excuse me.")) {
+ switch(select("Nothing.", "Excuse me.")) {
case 1:
mes "[Nordri]";
mes "Huh.";
@@ -2460,7 +2460,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{
mes "In truth, Thor was tricked, and the opponent that defeated him was not";
mes "actually a giant. Illusion was used to disguise Thor's opponent, but I forget was it was. Do you know?";
next;
- switch(select("Greed:Sea:Blaze:Hog")) {
+ switch(select("Greed", "Sea", "Blaze", "Hog")) {
default:
.@talk_not = 1;
break;
@@ -2480,7 +2480,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{
mes "Once again, illusion magic was";
mes "used to disguise the competitor. Do you know what Tialfi was really racing against?";
next;
- switch(select("Language:Thoughts:Turtle:Wolf")) {
+ switch(select("Language", "Thoughts", "Turtle", "Wolf")) {
default:
.@talk_not = 1;
break;
@@ -2499,7 +2499,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{
mes "Once again, Thor was the victim";
mes "of illusion magic. He didn't realize he wasn't actually wrestling with an old woman. Do you know what his opponent really was?";
next;
- switch(select("Curse:Earth:Heart:Old Age")) {
+ switch(select("Curse", "Earth", "Heart", "Old Age")) {
default:
.@talk_not = 1;
break;
@@ -2560,7 +2560,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{
mes "do you have with";
mes "me, human?";
next;
- switch(select("Nothing.:Excuse me.")) {
+ switch(select("Nothing.", "Excuse me.")) {
case 1:
mes "[Nordri]";
mes "Huh.";
@@ -2604,7 +2604,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{
mes "do you have with";
mes "me, human?";
next;
- switch(select("Nothing.:Excuse me.")) {
+ switch(select("Nothing.", "Excuse me.")) {
case 1:
mes "[Nordri]";
mes "Huh.";
@@ -2648,7 +2648,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{
mes "[Nordri]";
mes "So Thor decided to test his knowledge by asking him some questions. The first question was, 'What is the name of the ground in human terms?' Do you know the answer?";
next;
- switch(select("Ymir's body:Earth:Lane:Universe")) {
+ switch(select("Ymir's body", "Earth", "Lane", "Universe")) {
default:
.@talk_not = 1;
break;
@@ -2663,7 +2663,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{
mes "[Nordri]";
mes "Thor then gave Alvis another question. What is the giant's term for the round shell that covers the earth?";
next;
- switch(select("Ymir's Head:Sky:Cloud Factory:High House")) {
+ switch(select("Ymir's Head", "Sky", "Cloud Factory", "High House")) {
default:
.@talk_not = 1;
break;
@@ -2678,7 +2678,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{
mes "[Nordri]";
mes "So Thor gave him another question. What is the term for the ball that rises in the sky at night, as used by the gods?";
next;
- switch(select("Circling Wheel:Moon:False Sun:Fast Stranger")) {
+ switch(select("Circling Wheel", "Moon", "False Sun", "Fast Stranger")) {
default:
.@talk_not = 1;
break;
@@ -2746,7 +2746,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{
mes "do you have with";
mes "me, human?";
next;
- switch(select("Nothing.:Excuse me.")) {
+ switch(select("Nothing.", "Excuse me.")) {
case 1:
mes "[Nordri]";
mes "You're funny, leave me alone.";