summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level1-transmute-wood.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/magic/level1-transmute-wood.txt')
-rw-r--r--world/map/npc/magic/level1-transmute-wood.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/world/map/npc/magic/level1-transmute-wood.txt b/world/map/npc/magic/level1-transmute-wood.txt
index 9984d2b0..9ec8403e 100644
--- a/world/map/npc/magic/level1-transmute-wood.txt
+++ b/world/map/npc/magic/level1-transmute-wood.txt
@@ -1,6 +1,6 @@
-|script|spell-transmute-wood|32767
{
- callfunc "magic_checks"; if(@failed) end; // << I wish we had functions that could return >>
+ if(call("magic_checks")) end; // << I wish we had functions that could return >>
if (Sp < 5) end;
if (getskilllv(.school) < .level) end;
if (countitem("RawLog") >= 1) delitem "RawLog", 1; else end;
@@ -29,7 +29,7 @@ L_Skytlurk:
OnInit:
set .school, SKILL_MAGIC_TRANSMUTE;
set .invocation$, chr(MAGIC_SYMBOL) + "parum"; // used in npcs that refer to this spell
- callfunc "magic_register";
+ void call("magic_register");
set .level, 1;
set .exp_gain, 1;
end;