summaryrefslogtreecommitdiff
path: root/npc/magic/abizit.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/magic/abizit.txt')
-rw-r--r--npc/magic/abizit.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/npc/magic/abizit.txt b/npc/magic/abizit.txt
new file mode 100644
index 000000000..86bfa1822
--- /dev/null
+++ b/npc/magic/abizit.txt
@@ -0,0 +1,28 @@
+// TMW2 script
+// Author: Jesusalva <admin@tmw2.org>
+//
+// Magic Script: -
+//
+// Abizit() reports your magic power
+
+- script sk#abizit 32767,{
+ end;
+
+OnCall:
+ // Check cooldown
+ if (@abizit_at > gettimetick(2)) {
+ dispbottom l("Skill is in cooldown for @@.", FuzzyTime(@abizit_at));
+ end;
+ }
+
+ abizit(false);
+
+ // set cooldown
+ @abizit_at=gettimetick(2);
+ @abizit_at=@abizit_at+4;
+ end;
+
+OnInit:
+ bindatcmd "sk-abizit", "sk#abizit::OnCall", 0, 100, 0;
+ end;
+}