summaryrefslogtreecommitdiff
path: root/npc/re/jobs/3-2
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2017-05-27 17:00:28 -0400
committergumi <mekolat@users.noreply.github.com>2017-06-03 12:57:33 -0400
commitb0b071305f967ae836722e7518455ee06089de01 (patch)
tree4f8da981a8fff79abb1d61be1bae6c46cb33add9 /npc/re/jobs/3-2
parent7a538d27ee8f9194a9fc4988197d90b51e23f32b (diff)
downloadhercules-b0b071305f967ae836722e7518455ee06089de01.tar.gz
hercules-b0b071305f967ae836722e7518455ee06089de01.tar.bz2
hercules-b0b071305f967ae836722e7518455ee06089de01.tar.xz
hercules-b0b071305f967ae836722e7518455ee06089de01.zip
convert specialeffect calls with strings to use GID
Diffstat (limited to 'npc/re/jobs/3-2')
-rw-r--r--npc/re/jobs/3-2/genetic.txt12
-rw-r--r--npc/re/jobs/3-2/sura.txt4
2 files changed, 8 insertions, 8 deletions
diff --git a/npc/re/jobs/3-2/genetic.txt b/npc/re/jobs/3-2/genetic.txt
index cc7874f38..e85819f97 100644
--- a/npc/re/jobs/3-2/genetic.txt
+++ b/npc/re/jobs/3-2/genetic.txt
@@ -189,11 +189,11 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{
mes "- Zooooooooooooooooing -";
specialeffect EF_ENDURE;
next;
- specialeffect EF_REPAIRWEAPON,AREA,"#from1to2gen";
+ specialeffect(EF_REPAIRWEAPON, AREA, getnpcid(0, "#from1to2gen"));
mes "- (Screeching Sounds)!!! -";
mes "- (Screeching)!!! -";
next;
- specialeffect EF_CRASHEARTH,AREA,"#from1to2gen";
+ specialeffect(EF_CRASHEARTH, AREA, getnpcid(0, "#from1to2gen"));
mes "- Bump! Bump! Bump! -";
next;
mes "[Devries]";
@@ -451,8 +451,8 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{
mes "Damn!";
next;
if (job_gen == 60) {
- specialeffect EF_FLASHER,AREA,"Super Cultivator#gen";
- specialeffect EF_PHARMACY_OK,AREA,"Super Cultivator#gen";
+ specialeffect(EF_FLASHER, AREA, getnpcid(0, "Super Cultivator#gen"));
+ specialeffect(EF_PHARMACY_OK, AREA, getnpcid(0, "Super Cultivator#gen"));
mes "[Devries]";
mes "Popo, look at that!";
mes "That's really a mysterious plant!";
@@ -485,8 +485,8 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{
job_gen = 62;
changequest 2215,2216;
} else {
- specialeffect EF_SPELLBREAKER,AREA,"Super Cultivator#gen";
- specialeffect EF_PHARMACY_FAIL,AREA,"Super Cultivator#gen";
+ specialeffect(EF_SPELLBREAKER, AREA, getnpcid(0, "Super Cultivator#gen"));
+ specialeffect(EF_PHARMACY_FAIL, AREA, getnpcid(0, "Super Cultivator#gen"));
mes "[Devries]";
mes "Uh oh! You failed, Popo.";
mes "It didn't grow at all, it's withered already.";
diff --git a/npc/re/jobs/3-2/sura.txt b/npc/re/jobs/3-2/sura.txt
index 3eae13edf..567469d46 100644
--- a/npc/re/jobs/3-2/sura.txt
+++ b/npc/re/jobs/3-2/sura.txt
@@ -130,8 +130,8 @@ ve_in,237,125,0 script King Crab#job_shu 1_M_PAY_ELDER,{
next;
mes "[King Crab & Sludge Worm]";
mes "Aaaaaahhhhhhhhk!!!!!!!!";
- specialeffect EF_FIRESPLASHHIT,AREA,"King Crab#job_shu";
- specialeffect EF_FIRESPLASHHIT,AREA,"Sludge Worm#job_shu";
+ specialeffect(EF_FIRESPLASHHIT, AREA, getnpcid(0, "King Crab#job_shu"));
+ specialeffect(EF_FIRESPLASHHIT, AREA, getnpcid(0, "Sludge Worm#job_shu"));
next;
mes "- What is that amazing power? -";
mes "- I've never seen this -";