summaryrefslogtreecommitdiff
path: root/npc/quests/newgears
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-09-25 22:36:22 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-09-25 22:36:22 +0000
commit786e158717dec493ff9dfa573220b1084a557953 (patch)
tree5b90c2d8dc5764922f504738b53bbd9ce3d600ad /npc/quests/newgears
parent66a202583057448a0ef1827e8aace0188793e8a7 (diff)
downloadhercules-786e158717dec493ff9dfa573220b1084a557953.tar.gz
hercules-786e158717dec493ff9dfa573220b1084a557953.tar.bz2
hercules-786e158717dec493ff9dfa573220b1084a557953.tar.xz
hercules-786e158717dec493ff9dfa573220b1084a557953.zip
Replacing specialeffect/2 numerics with constants in quests.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13237 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/quests/newgears')
-rw-r--r--npc/quests/newgears/2004_headgears.txt31
-rw-r--r--npc/quests/newgears/2005_headgears.txt13
2 files changed, 23 insertions, 21 deletions
diff --git a/npc/quests/newgears/2004_headgears.txt b/npc/quests/newgears/2004_headgears.txt
index b56595969..3b3489b4c 100644
--- a/npc/quests/newgears/2004_headgears.txt
+++ b/npc/quests/newgears/2004_headgears.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= Dj-Yhn
//===== Current Version: =====================================
-//= 1.5
+//= 1.6
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -32,6 +32,7 @@
//===== Additional Comments: =================================
//= 1.4 Rescripted to Aegis 10.3 standards. [L0ne_W0lf]
//= 1.5 Vito'd function call for checkweight. [L0ne_W0lf]
+//= 1.6 Replaced effect numerics with constants. [L0ne_W0lf]
//============================================================
// Black Cat Ears
@@ -699,7 +700,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 813,{
mes "[Hatbyr Mhore]";
mes "Alright...";
mes "Let's get a groove on!";
- specialeffect 101; //"Old Blacksmith#hgear" EF_REPAIRWEAPON
+ specialeffect EF_REPAIRWEAPON;
next;
mes "[Hatbyr Mhore]";
mes "There you go, buddy.";
@@ -757,7 +758,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 813,{
if (countitem(2255) > 0 && countitem(2286) > 0 && Zeny > 19999) {
mes "[Hatbyr Mhore]";
mes "Alright, it's time to roll!";
- specialeffect 101; //"Old Blacksmith#hgear" EF_REPAIRWEAPON
+ specialeffect EF_REPAIRWEAPON;
next;
mes "[Hatbyr Mhore]";
mes "There you go, buddy. I am proud to say this is my masterpiece. I call it... 'Devil Wing Ears!'";
@@ -827,7 +828,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 813,{
mes "[Hatbyr Mhore]";
mes "Alright...";
mes "Let's get a groove on!";
- specialeffect 101; //"Old Blacksmith#hgear" EF_REPAIRWEAPON
+ specialeffect EF_REPAIRWEAPON;
next;
mes "[Hatbyr Mhore]";
mes "There you go, buddy.";
@@ -882,7 +883,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 813,{
if (countitem(2254) > 0 && countitem(2286) > 0 && Zeny > 19999) {
mes "Alright...";
mes "Let's get a groove on!";
- specialeffect 101; //"Old Blacksmith#hgear" EF_REPAIRWEAPON
+ specialeffect EF_REPAIRWEAPON;
next;
mes "[Hatbyr Mhore]";
mes "There you go, buddy.";
@@ -995,7 +996,7 @@ xmas,183,267,3 script Pretty Lindsay#1 793,{
mes "^FF0000Lindsay put the Raccoon Hat on the ground, threw the Smokie Leaf onto the hat and mumbled some words while hugging herself.^000000";
next;
mes "^FF0000Then, suddenly with a dazzling light, the Raccoon Hat turned blue and slowly transformed into a Sea-Otter Hat.^000000";
- specialeffect 99; // EF_FLASHER
+ specialeffect EF_FLASHER;
next;
mes "[Pretty Lindsay]";
mes "Phew! It's done!";
@@ -1916,7 +1917,7 @@ alde_alche,88,180,0 script Muscle Man#Alarm Mask 748,{
mes "It's...";
mes "It's sexy time!";
next;
- specialeffect 99; //EF_FLASHER
+ specialeffect EF_FLASHER;
setnpcdisplay "Muscle Man#Alarm Mask Man", 1193;
enablenpc " #Alarm Mask Man1";
enablenpc " #Alarm Mask Man2";
@@ -2031,7 +2032,7 @@ alde_alche,88,180,0 script Muscle Man#Alarm Mask 748,{
close;
OnTimer4000:
- specialeffect 99; //"Muscle Man#Alarm Mask Man" EF_FLASHER
+ specialeffect EF_FLASHER;
setnpcdisplay "Muscle Man#Alarm Mask Man", 748;
disablenpc " #Alarm Mask Man1";
disablenpc " #Alarm Mask Man2";
@@ -2051,7 +2052,7 @@ OnInit:
end;
OnAlarmState:
- specialeffect 107; // EF_CLAYMORE
+ specialeffect EF_CLAYMORE;
end;
}
@@ -2061,7 +2062,7 @@ OnInit:
end;
OnAlarmState:
- specialeffect 107; // EF_CLAYMORE
+ specialeffect EF_CLAYMORE;
end;
}
@@ -2071,7 +2072,7 @@ OnInit:
end;
OnAlarmState:
- specialeffect 107; // EF_CLAYMORE
+ specialeffect EF_CLAYMORE;
end;
}
@@ -2081,7 +2082,7 @@ OnInit:
end;
OnAlarmState:
- specialeffect 107; // EF_CLAYMORE
+ specialeffect EF_CLAYMORE;
end;
}
@@ -2512,12 +2513,12 @@ OnTouch:
case 25: set .@x,154; set .@y,130; break;
}
monster "pay_dun03",.@x,.@y,"Nine Tail",1180,1,"SpawnManager#Kitsune::OnMyMobDead";
- specialeffect 99; //EF_FLASHER
+ specialeffect EF_FLASHER;
disablenpc "Nine Tails#Kitsune Mask";
end;
}
close2;
- specialeffect 99; //EF_FLASHER
+ specialeffect EF_FLASHER;
disablenpc "Nine Tails#Kitsune Mask";
enablenpc "Nine Tails#Kitsune Man";
end;
@@ -2610,7 +2611,7 @@ pay_dun03,48,84,4 script Nine Tails#Kitsune Man 762,{
case 25: set .@x,154; set .@y,130; break;
}
monster "pay_dun03",.@x,.@y,"Nine Tail",1180,1,"SpawnManager#Kitsune::OnMyMobDead2";
- specialeffect 106; // EF_BLASTMINEBOMB
+ specialeffect EF_BLASTMINEBOMB;
disablenpc "Nine Tails#Kitsune Man";
end;
diff --git a/npc/quests/newgears/2005_headgears.txt b/npc/quests/newgears/2005_headgears.txt
index c93a87c0e..7dd7f12e3 100644
--- a/npc/quests/newgears/2005_headgears.txt
+++ b/npc/quests/newgears/2005_headgears.txt
@@ -3,15 +3,16 @@
//===== By: ==================================================
//= MasterOfMuppets
//===== Current Version: =====================================
-//= 1.1
+//= 1.2
//===== Compatible With: =====================================
//= eAthena
//===== Description: =========================================
-// [Aegis Conversion]
+//= [Aegis Conversion]
//= 2005 Headgears Official Quest.
//===== Additional Comments: =================================
-// 1.0 First version, converted from the official aegis script. [MasterOfMuppets]
-// 1.1 Updated item ids in the zealotus mask npc, now requires a whip [ultramage]
+//= 1.0 First version, converted from the official aegis script. [MasterOfMuppets]
+//= 1.1 Updated item ids in the zealotus mask npc, now requires a whip [ultramage]
+//= 1.2 Replaced effect numerics with constants. [L0ne_W0lf]
//============================================================
yuno,222,116,3 script Kasis#LhzHat 851,{
@@ -1674,8 +1675,8 @@ gl_prison1,137,138,5 script Zealotus#LhzHat 1200,{
mes "in my power. Those that";
mes "bow to me must also bow";
mes "to " + strcharinfo(0) + ". It shall be done.";
- specialeffect 196; //Curse? EF_DEVIL
- specialeffect 192; //Poison attack? EF_POISONHIT
+ specialeffect EF_DEVIL;
+ specialeffect EF_POISONHIT;
next;
mes "[Zealotus]";
mes "Human, take this";