summaryrefslogtreecommitdiff
path: root/world/map/npc/items/manapearl_item.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-07-07 20:34:27 -0300
committerJesusaves <cpntb1@ymail.com>2021-07-07 20:34:27 -0300
commit9877fd4ad81120af8e63e96d5d429092014dc017 (patch)
treeec045a0535109a2e0d82e0e8155eb01ed9776452 /world/map/npc/items/manapearl_item.txt
parentaedbeb335a5ec5f55d22eace389076a18241ac9a (diff)
downloadserverdata-9877fd4ad81120af8e63e96d5d429092014dc017.tar.gz
serverdata-9877fd4ad81120af8e63e96d5d429092014dc017.tar.bz2
serverdata-9877fd4ad81120af8e63e96d5d429092014dc017.tar.xz
serverdata-9877fd4ad81120af8e63e96d5d429092014dc017.zip
Remove all Legacy files
Diffstat (limited to 'world/map/npc/items/manapearl_item.txt')
-rw-r--r--world/map/npc/items/manapearl_item.txt29
1 files changed, 0 insertions, 29 deletions
diff --git a/world/map/npc/items/manapearl_item.txt b/world/map/npc/items/manapearl_item.txt
deleted file mode 100644
index 9c1f1c04..00000000
--- a/world/map/npc/items/manapearl_item.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-// The Mana Pearl can only be used when player has a natural mana flow:
-// "Magic flows naturally from you, readily and with ease. Your understanding of what you can currently control at present is flawless, far beyond your requirements to cast magic at this level.";
-// Variables passed to this script:
-// @slotId The slot in which the item would have been equipped in. This is passed automagically when called in an equip script.
-
-function|script|ManaPearlItem
-{
-
- set @debug_mask, 65535;
- set @debug_shift, 0;
- set @mexp, ((MAGIC_EXPERIENCE & @debug_mask) >> @debug_shift);
-
- set @manapearl_mexp_needed, 5404;
-
- if ( @mexp >= @manapearl_mexp_needed )
- goto L_Return;
-
- message strcharinfo(0), "You are not expirienced enough to keep up the mana flow that is needed to stay in resonance with the Mana Pearl.";
-
- // This is for debug
- if (debug)
- goto L_Return;
-
- callfunc "UnequipLater";
- goto L_Return;
-
-L_Return:
- return;
-}