summaryrefslogtreecommitdiff
path: root/npc/001-1/flyingpiou.txt
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-27 21:25:02 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-27 21:25:02 +0300
commit49dbe47290300cbdfc47eed2774896d7f1b6dc6a (patch)
treef470207a0908f999ccd8eea1daca265fb43748a0 /npc/001-1/flyingpiou.txt
parent262e8bd9015e130fabe1b26c2984923c56db5387 (diff)
downloadserverdata-49dbe47290300cbdfc47eed2774896d7f1b6dc6a.tar.gz
serverdata-49dbe47290300cbdfc47eed2774896d7f1b6dc6a.tar.bz2
serverdata-49dbe47290300cbdfc47eed2774896d7f1b6dc6a.tar.xz
serverdata-49dbe47290300cbdfc47eed2774896d7f1b6dc6a.zip
Replace npcspeed to .speed
Diffstat (limited to 'npc/001-1/flyingpiou.txt')
-rw-r--r--npc/001-1/flyingpiou.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/001-1/flyingpiou.txt b/npc/001-1/flyingpiou.txt
index 4c459b4d..44e2cfce 100644
--- a/npc/001-1/flyingpiou.txt
+++ b/npc/001-1/flyingpiou.txt
@@ -11,7 +11,7 @@ function script ArtisFlyingPiouLogic {
.@LastTimeTouched = getvariableofnpc(.LastTimeTouched, strnpcinfo(3));
if (.@tick > .@LastTimeTouched + 300)
{
- npcspeed 200;
+ .speed = 200;
set getvariableofnpc(.LastPlayerTouched, strnpcinfo(3)), -1;
}
.@rnd = rand(5) - 3;
@@ -89,7 +89,7 @@ function script ArtisFlyingPiouLogic {
setarray .RandomFailureMessages$[0], l("So close!"), l("It escaped!"), l("Almost got it!"), l("Oh, the little...");
.@r = rand(getarraysize(.RandomFailureMessages$));
message strcharinfo(0), .RandomFailureMessages$[.@r];
- npcspeed max(140, 200 - 10 * (@ArtisQuests_CatchPiouTries +
+ .speed = max(140, 200 - 10 * (@ArtisQuests_CatchPiouTries +
ArtisQuests_CatchPiou_Difficulcy));
}
end;