summaryrefslogtreecommitdiff
path: root/npc/re/quests/quests_brasilis.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-06-03 22:47:54 +0200
committerHaru <haru@dotalux.com>2017-06-03 22:47:54 +0200
commit68059ee62a223edb323abba0bc980faab8ed4b52 (patch)
treef50fddbe254d80033eeb74752843ebb6d0eda92f /npc/re/quests/quests_brasilis.txt
parent1b02f9269f15582c7d211f1d1a3a0c1c7ce68a88 (diff)
downloadhercules-68059ee62a223edb323abba0bc980faab8ed4b52.tar.gz
hercules-68059ee62a223edb323abba0bc980faab8ed4b52.tar.bz2
hercules-68059ee62a223edb323abba0bc980faab8ed4b52.tar.xz
hercules-68059ee62a223edb323abba0bc980faab8ed4b52.zip
Revert "Unify specialeffect, convert legacy scripts (#1746)"
This reverts commit 19883c583e5e1471c87ae80e67f34882a7e75bc6. The commit was squashed by accident, my fault. I'm merging the PR again, this time preserving the indivisual commits.
Diffstat (limited to 'npc/re/quests/quests_brasilis.txt')
-rw-r--r--npc/re/quests/quests_brasilis.txt24
1 files changed, 12 insertions, 12 deletions
diff --git a/npc/re/quests/quests_brasilis.txt b/npc/re/quests/quests_brasilis.txt
index ad7aed094..ff8038166 100644
--- a/npc/re/quests/quests_brasilis.txt
+++ b/npc/re/quests/quests_brasilis.txt
@@ -72,7 +72,7 @@ brasilis,297,307,5 script Angelo#br 1_M_04,{
getexp .@randexp,0;
erasequest 9031;
setquest 9032;
- specialeffect(EF_ASSUMPTIO, AREA, playerattached());
+ specialeffect2 EF_ASSUMPTIO;
consumeitem 607; //Yggdrasilberry
.@rand = rand(1,10);
if (.@rand > 4 && .@rand < 9) getitem White_Potion,2;
@@ -828,7 +828,7 @@ brasilis,203,64,3 script Strange Kid#bra 4_M_KID1,{
brasilis,56,224,7 script Mage Paje#bra 4_M_BIBI,{
mes "[Mage Paje]";
mes "Abracadabra~";
- specialeffect(EF_POISONHIT, AREA, getnpcid(0, "Poring#bra"));
+ specialeffect EF_POISONHIT,AREA,"Poring#bra";
setarray .@display[0], 4_NFCOCK, 4_CAT, 4_PORING;
setnpcdisplay "Poring#bra",.@display[rand(3)];
if (brazil_gua != 5) close;
@@ -868,7 +868,7 @@ brasilis,56,224,7 script Mage Paje#bra 4_M_BIBI,{
mes "Good luck~!";
brazil_gua = 6;
changequest 2195,2196;
- specialeffect(EF_ASSUMPTIO, AREA, playerattached());
+ specialeffect2 EF_ASSUMPTIO;
close;
}
@@ -925,7 +925,7 @@ OnTouch:
mes "Fly fly far away. bbaaaeeeccckkk--!";
brazil_gua = 7;
changequest 2196,2197;
- specialeffect(EF_SEISMICWEAPON, AREA, playerattached());
+ specialeffect2 EF_SEISMICWEAPON;
close2;
warp "bra_fild01",68,146;
end;
@@ -950,7 +950,7 @@ OnTouch_:
mes "Smelling! This smell is from a human!";
mes "Somewhere, a human!";
mes "I got it. You are!!!";
- specialeffect(EF_HIT1, AREA, getnpcid(0, "Jaguar#bra"));
+ specialeffect EF_HIT1,AREA,"Jaguar#bra";
emotion e_omg,1;
next;
mes "[Jaguar]";
@@ -1875,7 +1875,7 @@ bra_dun02,71,200,3 script Water lily#bra HIDDEN_NPC,{
next;
mes "- munch -";
mes "- mumble mumble mumble -";
- specialeffect(EF_POTION7, AREA, getnpcid(0, "Recluse#bra"));
+ specialeffect EF_POTION7,AREA,"Recluse#bra";
next;
mes "[Jasi]";
mes "Uh, this taste... is!";
@@ -2281,7 +2281,7 @@ bra_in01,149,184,3 script Door#bra CLEAR_NPC,{
mes "^FF0000kkkkhee- hihihihi!!!^000000";
mes "You hear water flushing.";
next;
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
mes "Faint laughing can be heard off in the direction of the toilet.";
brazil_ghost = 3;
changequest 2208,60351;
@@ -2327,7 +2327,7 @@ bra_in01,144,187,3 script Toilet#bra CLEAR_NPC,{
switch(select("Flush the toilet.", "Doing nothing.")) {
case 1:
mes "After flushing the toilet, you suddenly feel dizzy and are suddenly swept away somewhere.";
- specialeffect(EF_WATERFALL_SMALL_T2_90, AREA, playerattached());
+ specialeffect2 EF_WATERFALL_SMALL_T2_90;
close2;
warp "bra_in01",206,102;
end;
@@ -2371,7 +2371,7 @@ bra_in01,144,187,3 script Toilet#bra CLEAR_NPC,{
mes "^FF0000kkkkhee- hihihihi!!!^000000";
mes "Suddenly the sink sounds like water is flowing freely from it.";
next;
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
mes "Faint laughing can be heard off in the direction of the faucet.";
brazil_ghost = 4;
changequest 60351,60352;
@@ -2450,7 +2450,7 @@ bra_in01,134,189,3 script Faucet#bra CLEAR_NPC,{
mes "^FF0000kkkkhee- hihihihi!!!^000000";
mes "You see the carpet move.";
next;
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
mes "Faint laughing can be heard off in the direction of the carpet.";
brazil_ghost = 5;
changequest 60352,60353;
@@ -2532,7 +2532,7 @@ bra_in01,138,184,3 script Carpet#bra CLEAR_NPC,{
mes "[Distant Sound]";
mes "^FF0000kkkkhee- hihihihi!!!^000000";
next;
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
mes "Faint laughing can be heard off in the direction of the mirror.";
brazil_ghost = 6;
changequest 60353,60354;
@@ -2628,7 +2628,7 @@ bra_in01,151,180,3 script Mirror#bra CLEAR_NPC,{
}
}
if (.@cpudice > .@pcdice) {
- specialeffect(EF_DEVIL, AREA, playerattached());
+ specialeffect2 EF_DEVIL;
mes "[Ghost]";
mes "^FF0000Go away!^000000";
brazil_ghost = 1;