diff options
author | Haru <haru@dotalux.com> | 2017-06-03 22:52:17 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2017-06-03 22:52:17 +0200 |
commit | 10cb83a30cc50d757e05924fb29c11fc68abda49 (patch) | |
tree | d25f9efea9b8d07a2ea1d784f08811acf136629a /npc/re/cities/dewata.txt | |
parent | 68059ee62a223edb323abba0bc980faab8ed4b52 (diff) | |
parent | 9913f13573d737b4c54c7cad23b77c6a940fe8f4 (diff) | |
download | hercules-10cb83a30cc50d757e05924fb29c11fc68abda49.tar.gz hercules-10cb83a30cc50d757e05924fb29c11fc68abda49.tar.bz2 hercules-10cb83a30cc50d757e05924fb29c11fc68abda49.tar.xz hercules-10cb83a30cc50d757e05924fb29c11fc68abda49.zip |
Merge pull-request #1746
This is equivalent to, and replaces, commit 19883c583
Diffstat (limited to 'npc/re/cities/dewata.txt')
-rw-r--r-- | npc/re/cities/dewata.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/npc/re/cities/dewata.txt b/npc/re/cities/dewata.txt index d140a0d24..064cdc461 100644 --- a/npc/re/cities/dewata.txt +++ b/npc/re/cities/dewata.txt @@ -543,13 +543,13 @@ dewata,89,191,6 script Small Shrine#dew1 CLEAR_NPC,{ else if (.@stat & 32 && .@bonus) consumeitem 12068; //Luk_Dish03 else if (.@stat & 64) { - specialeffect2 EF_ANGEL; + specialeffect(EF_ANGEL, AREA, playerattached()); mes "- A celestial entity gives you a blessing. -"; next; } else if (.@stat & 128) { mes "- The shrine envelops you in a loving aura. -"; if ((Sex == SEX_FEMALE && compare(.@wish$,.@wishes$[26])) || (Sex == SEX_MALE && compare(.@wish$,.@wishes$[27]))) - specialeffect2 EF_LIGHTSPHERE; + specialeffect(EF_LIGHTSPHERE, AREA, playerattached()); next; } mes "It feels like this wish could come true."; @@ -569,13 +569,13 @@ dewata,89,191,6 script Small Shrine#dew1 CLEAR_NPC,{ L_Wish: mes "Mysterious energy comes out from the shrine."; - specialeffect EF_FLASHER,AREA,"Small Shrine#dew1"; - specialeffect EF_FLASHER,AREA,"Small Shrine#dew2"; - specialeffect EF_FLASHER,AREA,"Small Shrine#dew3"; - specialeffect EF_FLASHER,AREA,"Small Shrine#dew4"; + specialeffect(EF_FLASHER, AREA, getnpcid(0, "Small Shrine#dew1")); + specialeffect(EF_FLASHER, AREA, getnpcid(0, "Small Shrine#dew2")); + specialeffect(EF_FLASHER, AREA, getnpcid(0, "Small Shrine#dew3")); + specialeffect(EF_FLASHER, AREA, getnpcid(0, "Small Shrine#dew4")); next; mes "You have received the shrine's blessing."; - specialeffect2 EF_BLESSING; + specialeffect(EF_BLESSING, AREA, playerattached()); next; return; } |