summaryrefslogtreecommitdiff
path: root/npc/magic/zarkor.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-08-09 23:29:52 -0300
committerJesusaves <cpntb1@ymail.com>2018-08-09 23:29:52 -0300
commitf662ebc4232d427ec394d27d3c9153a625de8a4d (patch)
tree421d320cdbce9b21b3966ee0d7ed101dff484330 /npc/magic/zarkor.txt
parent6784a215d49bad32c4ae9a8f503f6ec85cab59ec (diff)
downloadserverdata-f662ebc4232d427ec394d27d3c9153a625de8a4d.tar.gz
serverdata-f662ebc4232d427ec394d27d3c9153a625de8a4d.tar.bz2
serverdata-f662ebc4232d427ec394d27d3c9153a625de8a4d.tar.xz
serverdata-f662ebc4232d427ec394d27d3c9153a625de8a4d.zip
Debug markers required
Diffstat (limited to 'npc/magic/zarkor.txt')
-rw-r--r--npc/magic/zarkor.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/magic/zarkor.txt b/npc/magic/zarkor.txt
index 6c4980c33..42f504dac 100644
--- a/npc/magic/zarkor.txt
+++ b/npc/magic/zarkor.txt
@@ -17,6 +17,7 @@ OnFriendlyDeath:
*/
OnCall:
+ debugmes "--- Magic Subsystem: ZK called";
// Other requeriments
if (countitem(ZarkorScroll) < 1) {
dispbottom l("You need @@ to cast this skill.", getitemlink(ZarkorScroll));
@@ -31,19 +32,23 @@ OnCall:
end;
}
+ debugmes "--- Magic Subsystem: ZK: Ready for setup";
// Setup
@sk=TMW2_ZARKOR;
@mp=400;
@amp=75;
+ debugmes "--- Magic Subsystem: ZK: Ready for check";
// Check if you have mana to cast
// MagicCheck(SkillID, Mana{, MP per level})
if (!MagicCheck(@sk, @mp, @amp))
end;
+ debugmes "--- Magic Subsystem: ZK: Ready for core";
// Summon Magic
SummonMagic(@sk, CaveMaggot, 2);
+ debugmes "--- Magic Subsystem: ZK: Ready for XP";
// Get a single mana experience point (this is NOT used by Mana Stone)
GetManaExp(@sk, 1);
@@ -52,6 +57,7 @@ OnCall:
@skzarkor_cooldown=gettimetick(2)+20;
*/
@zark_caveat=1;
+ debugmes "--- Magic Subsystem: ZK: Complete";
end;
OnInit: