From f662ebc4232d427ec394d27d3c9153a625de8a4d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 9 Aug 2018 23:29:52 -0300 Subject: Debug markers required --- npc/config/magic.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'npc/config') 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; } -- cgit v1.2.3-60-g2f50