summaryrefslogtreecommitdiff
path: root/npc/quests/seals/mjolnir_seal.txt
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2016-08-29 17:40:13 +0100
committerhemagx <ibrahem.h.basyone@gmail.com>2016-09-02 04:56:00 +0200
commit0f1d0507eb95cf07ce7eb66d89ad9853938612e6 (patch)
tree57780b1ecc7c5ae125be1c89406f8db1e00a581b /npc/quests/seals/mjolnir_seal.txt
parent0f1d03f505fdc03533122db8ba19fa55f64f11b7 (diff)
downloadhercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.gz
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.bz2
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.xz
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.zip
change *strcharinfo to use constants
Diffstat (limited to 'npc/quests/seals/mjolnir_seal.txt')
-rw-r--r--npc/quests/seals/mjolnir_seal.txt112
1 files changed, 56 insertions, 56 deletions
diff --git a/npc/quests/seals/mjolnir_seal.txt b/npc/quests/seals/mjolnir_seal.txt
index 803b42bf2..e4775cfb2 100644
--- a/npc/quests/seals/mjolnir_seal.txt
+++ b/npc/quests/seals/mjolnir_seal.txt
@@ -1077,9 +1077,9 @@ 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;
@@ -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;
.@p_vit += 10;
mes "--------------------";
- mes "" + strcharinfo(0) + "";
+ mes "" + strcharinfo(PC_NAME) + "";
mes "has gained 10 HP!";
}
else if (.@p_atk == 1) {
@@ -1192,7 +1192,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
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,13 +1206,13 @@ 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;
@@ -1248,7 +1248,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
specialeffect2 EF_GUARD;
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,7 +1274,7 @@ 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;
@@ -1285,7 +1285,7 @@ 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;
}
@@ -1297,7 +1297,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
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) {
@@ -1305,41 +1305,41 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
.@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;
.@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;
.@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;
.@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 "--------------------";
@@ -1485,9 +1485,9 @@ 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;
@@ -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;
.@p_vit += 10;
mes "--------------------";
- mes "" + strcharinfo(0) + "";
+ mes "" + strcharinfo(PC_NAME) + "";
mes "has gained 10 HP!";
}
else if (.@p_atk == 1) {
@@ -1600,7 +1600,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
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,13 +1614,13 @@ 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;
@@ -1656,7 +1656,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
specialeffect2 EF_GUARD;
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,7 +1681,7 @@ 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;
@@ -1692,7 +1692,7 @@ 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;
}
@@ -1704,7 +1704,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
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) {
@@ -1712,41 +1712,41 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
.@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;
.@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;
.@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;
.@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 "--------------------";