summaryrefslogtreecommitdiff
path: root/npc/042-10
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-01 07:47:17 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-01 07:47:17 -0300
commit4d351031c90a8dc752c408a779653ff4da701dd7 (patch)
treed9807b0421f22b3c3e9ead5e948958c9eef13208 /npc/042-10
parente8dc22b41f89108c19fb5325a8887aa8e8221fbb (diff)
downloadserverdata-4d351031c90a8dc752c408a779653ff4da701dd7.tar.gz
serverdata-4d351031c90a8dc752c408a779653ff4da701dd7.tar.bz2
serverdata-4d351031c90a8dc752c408a779653ff4da701dd7.tar.xz
serverdata-4d351031c90a8dc752c408a779653ff4da701dd7.zip
Main logic of Katazuli
Diffstat (limited to 'npc/042-10')
-rw-r--r--npc/042-10/ctrl.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/npc/042-10/ctrl.txt b/npc/042-10/ctrl.txt
index 1d9727404..509f547f5 100644
--- a/npc/042-10/ctrl.txt
+++ b/npc/042-10/ctrl.txt
@@ -115,10 +115,19 @@ OnTalkNearby:
getmapxy(.@m$, .@x, .@y, 0);
if (.@x != .x || .@y != .y)
end;
+ // User cooldown
+ if (@katazuli > gettimetick(2))
+ end;
// All checks passed: KATAZULI
specialeffect FX_MGSHIELD, AREA, getcharid(3); // Temporary FX
+ // Consume Dark Petals nearby
+ .@cat=getareadropitem(getmap(), .x-3, .y-3, .x+3, .y+3, DarkPetal, true);
+
+ // TODO: Power Variable
+ dispbottom l("Katazuli! %d", .@cat);
+
}
end;
}