summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level2-flying-backpack.txt
diff options
context:
space:
mode:
authorHoraK-FDF <horak-fdf@web.de>2022-10-25 00:56:35 +0200
committerHoraK-FDF <horak-fdf@web.de>2022-10-25 00:56:35 +0200
commit6ef8c2f9f848cd6db7bb1411226d21ca4a8613bd (patch)
tree906f54994782c2812bf24d3e01a0370daa7aa35c /world/map/npc/magic/level2-flying-backpack.txt
parentc2970a2d7efbb94b2971fdbcc53e1789484a86e2 (diff)
downloadserverdata-6ef8c2f9f848cd6db7bb1411226d21ca4a8613bd.tar.gz
serverdata-6ef8c2f9f848cd6db7bb1411226d21ca4a8613bd.tar.bz2
serverdata-6ef8c2f9f848cd6db7bb1411226d21ca4a8613bd.tar.xz
serverdata-6ef8c2f9f848cd6db7bb1411226d21ca4a8613bd.zip
magic use cooldown symbols removed unneeded checks
Diffstat (limited to 'world/map/npc/magic/level2-flying-backpack.txt')
-rw-r--r--world/map/npc/magic/level2-flying-backpack.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/world/map/npc/magic/level2-flying-backpack.txt b/world/map/npc/magic/level2-flying-backpack.txt
index b3013db0..f8857120 100644
--- a/world/map/npc/magic/level2-flying-backpack.txt
+++ b/world/map/npc/magic/level2-flying-backpack.txt
@@ -5,8 +5,7 @@
set .@level, getskilllv(.school);
if (.@level < .level) end;
if (getskilllv(SKILL_MAGIC) < .level) end;
- if (.@level <= 3 && countitem("SilkCocoon") < 1) end;
- elif (.@level <= 3) end;
+ if (.@level <= 3 && countitem("SilkCocoon") < 1) end;
set @target_id, getcharid(3, @args$);
if (@target_id < 1 || !(isloggedin(@target_id)) || get(INVISIBLE, @target_id) == 1)
set @target_id, BL_ID; // fallback to self