summaryrefslogtreecommitdiff
path: root/npc/config
diff options
context:
space:
mode:
Diffstat (limited to 'npc/config')
-rw-r--r--npc/config/magic.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt
index 5d08a1047..9c9a3c6bc 100644
--- a/npc/config/magic.txt
+++ b/npc/config/magic.txt
@@ -314,6 +314,17 @@ function script RegisterMagic {
- script Magic Load NPC_HIDDEN,{
OnInit:
+ // Cleanup in case of reload
+ deletearray($@MSK_MSPCOST);
+ deletearray($@MSK_MAXLV);
+
+ deletearray($@MSK_ITEM);
+ deletearray($@MSK_AMOUNT);
+ deletearray($@MSK_COST);
+
+ deletearray($@MSK_CLASS);
+ deletearray($@MSK_PREREQ);
+ deletearray($@MSK_POSTREQ);
/* RegisterMagic(MSP, Skill, MaxLv, Item, Amount,
Class, Cost, {PreReq, PostReq}) */