summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level1-experience.txt
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2016-08-30 10:05:12 -0400
committergumi <mekolat@users.noreply.github.com>2016-08-30 10:05:12 -0400
commit83fcbafd55860e1db99e8b5b37545efd428117e8 (patch)
tree23c438a1facb9772ec3860b2531e89034daab3b0 /world/map/npc/magic/level1-experience.txt
parentbaf7ac957c09c727e5f73a48d39771a236f96c84 (diff)
downloadserverdata-83fcbafd55860e1db99e8b5b37545efd428117e8.tar.gz
serverdata-83fcbafd55860e1db99e8b5b37545efd428117e8.tar.bz2
serverdata-83fcbafd55860e1db99e8b5b37545efd428117e8.tar.xz
serverdata-83fcbafd55860e1db99e8b5b37545efd428117e8.zip
fix magic experience bug
Diffstat (limited to 'world/map/npc/magic/level1-experience.txt')
-rw-r--r--world/map/npc/magic/level1-experience.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/world/map/npc/magic/level1-experience.txt b/world/map/npc/magic/level1-experience.txt
index 36ad8179..94b07ad0 100644
--- a/world/map/npc/magic/level1-experience.txt
+++ b/world/map/npc/magic/level1-experience.txt
@@ -1,5 +1,10 @@
-|script|spell-experience|32767
{
+ //debugmes MAGIC_EXPERIENCE;
+ //debugmes (MAGIC_EXPERIENCE >> 0) & 0xFFFF; // magic exp
+ //debugmes (MAGIC_EXPERIENCE >> 16) & 0xFF; // last spell index
+ //debugmes (MAGIC_EXPERIENCE >> 24) & 0xFF; // heal exp
+
if(call("magic_checks")) end;
if (Sp < 1) end;
set @_M_BLOCK, 1; // block casting, until the timer clears it