summaryrefslogtreecommitdiff
path: root/npc/config
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/config
parent6784a215d49bad32c4ae9a8f503f6ec85cab59ec (diff)
downloadserverdata-f662ebc4232d427ec394d27d3c9153a625de8a4d.tar.gz
serverdata-f662ebc4232d427ec394d27d3c9153a625de8a4d.tar.bz2
serverdata-f662ebc4232d427ec394d27d3c9153a625de8a4d.tar.xz
serverdata-f662ebc4232d427ec394d27d3c9153a625de8a4d.zip
Debug markers required
Diffstat (limited to 'npc/config')
-rw-r--r--npc/config/magic.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt
index 7da849e86..85d3442bf 100644
--- a/npc/config/magic.txt
+++ b/npc/config/magic.txt
@@ -17,16 +17,21 @@
// SkillID, EXP Points
function script GetManaExp {
+ debugmes "--- Magic Subsystem: GME called";
.@sk=getarg(0);
.@pt=getarg(1);
+ debugmes "--- Magic Subsystem: GME: Arguments Read";
if (getskilllv(TMW2_SAGE))
.@bonus=rand(0,getskilllv(TMW2_SAGE)*3/2);
else
.@bonus=0;
+ debugmes "--- Magic Subsystem: GME: Evaluating";
if (LAST_SKILL == .@sk)
end;
+ debugmes "--- Magic Subsystem: GME: Recording";
LAST_SKILL=.@sk;
MAGIC_EXP=MAGIC_EXP+.@pt+.@bonus;
+ debugmes "--- Magic Subsystem: GME: Complete";
end;
}