From 60b1a31b3d190cce795cd015d054ce4da097503b Mon Sep 17 00:00:00 2001 From: gumi Date: Thu, 9 Mar 2017 10:58:57 -0500 Subject: make the flying piou do a sound on click --- npc/001-1/flyingpiou.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/npc/001-1/flyingpiou.txt b/npc/001-1/flyingpiou.txt index 06240b9d..49abe4b8 100644 --- a/npc/001-1/flyingpiou.txt +++ b/npc/001-1/flyingpiou.txt @@ -60,6 +60,7 @@ function script ArtisFlyingPiouLogic { { message strcharinfo(0), l("Dang, I scared it! More patience, @@, more patience.", strcharinfo(0)); .LastTimeTouched = .@tick; + specialeffect2 33, SELF; end; } @@ -80,7 +81,8 @@ function script ArtisFlyingPiouLogic { set getvariableofnpc(.LastPiouHunterID, .@trader$), .@charid; set getvariableofnpc(.PiouCaught, .@trader$), 1; donpcevent .@trader$ + "::OnPiouFlee"; - next; + specialeffect2 26, SELF; + close2; disablenpc strnpcinfo(3); close; } @@ -91,6 +93,7 @@ function script ArtisFlyingPiouLogic { message strcharinfo(0), .RandomFailureMessages$[.@r]; .speed = max(140, 200 - 10 * (@ArtisQuests_CatchPiouTries + ArtisQuests_CatchPiou_Difficulcy)); + specialeffect2 33, SELF; } end; -- cgit v1.2.3-60-g2f50