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