summaryrefslogtreecommitdiff
path: root/npc/042-10/ctrl.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/042-10/ctrl.txt')
-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;
}