summaryrefslogtreecommitdiff
path: root/npc/magic/zarkor.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-10-21 13:19:39 -0300
committerJesusaves <cpntb1@ymail.com>2019-10-21 13:19:39 -0300
commit7db84053b350e028196d81e537dcc509f02008e5 (patch)
tree117d83abab06a3a8bccda074cb39c8d480360e24 /npc/magic/zarkor.txt
parent6e0ebfd6c518aacc53cef0b6a244545142b4aa4a (diff)
downloadserverdata-7db84053b350e028196d81e537dcc509f02008e5.tar.gz
serverdata-7db84053b350e028196d81e537dcc509f02008e5.tar.bz2
serverdata-7db84053b350e028196d81e537dcc509f02008e5.tar.xz
serverdata-7db84053b350e028196d81e537dcc509f02008e5.zip
Rewrite Zarkor skill
Diffstat (limited to 'npc/magic/zarkor.txt')
-rw-r--r--npc/magic/zarkor.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/npc/magic/zarkor.txt b/npc/magic/zarkor.txt
index 64d86d70c..b205fcf92 100644
--- a/npc/magic/zarkor.txt
+++ b/npc/magic/zarkor.txt
@@ -6,6 +6,17 @@
// Spawns a Cave Maggot.
// This is to test stuff, more than to create anything really.
+function script SK_zarkor {
+ // Set skill
+ @sk=TMW2_ZARKOR;
+
+ // Summon Magic
+ SummonMagic(@sk, CaveMaggot, 2, @skillLv);
+
+ // Get a single mana experience point (this is NOT used by Mana Stone)
+ GetManaExp(@sk, 1);
+ return;
+}
- script sk#zarkor 32767,{
end;
@@ -17,6 +28,9 @@ OnFriendlyDeath:
*/
OnCall:
+ // Deprecated
+ end;
+
// Other requeriments
if (countitem(ZarkorScroll) < 1) {
dispbottom l("You need @@ to cast this skill.", getitemlink(ZarkorScroll));