summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-04-08 10:51:05 -0300
committerJesusaves <cpntb1@ymail.com>2022-04-08 10:51:05 -0300
commitaabfc9306849fd3e0cb28f9a78e49caab8cec258 (patch)
tree21202d40bd93c1eb216ad8e813adbc4d2b373dae
parentb9783d45aae91d656f51ee36aa12b0d55b80ae47 (diff)
downloadserverdata-aabfc9306849fd3e0cb28f9a78e49caab8cec258.tar.gz
serverdata-aabfc9306849fd3e0cb28f9a78e49caab8cec258.tar.bz2
serverdata-aabfc9306849fd3e0cb28f9a78e49caab8cec258.tar.xz
serverdata-aabfc9306849fd3e0cb28f9a78e49caab8cec258.zip
Prevent non-staff from using the new items. Double safe.
-rw-r--r--world/map/db/item_db_chest.txt2
-rw-r--r--world/map/db/item_db_offhand.txt2
-rw-r--r--world/map/db/item_db_weapon.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/world/map/db/item_db_chest.txt b/world/map/db/item_db_chest.txt
index 1840e6cf..e4e73a3b 100644
--- a/world/map/db/item_db_chest.txt
+++ b/world/map/db/item_db_chest.txt
@@ -244,4 +244,4 @@
5139, PurpleContributor, 5, 0, 0, 20, 0, 5, 0, 5, 0, 2, 512, 0, 0, 0, {}, {}
5140, DarkGreenContributor, 5, 0, 0, 20, 0, 5, 0, 5, 0, 2, 512, 0, 0, 0, {}, {}
5254, SaviorArmor, 5, 0, 0, 2000, 0, 24, 0, -90, 0, 2, 512, 0, 0, 0, {}, {bonus bDex, 1; bonus bMaxHP, 100;}
-5286, RedArmor, 5, 0, 0, 2000, 0, 27, 0, -40, 0, 2, 512, 0, 0, 0, {}, {bonus bDex, 1; bonus bAgi, 1; bonus bMaxHP, 1500;}
+5286, RedArmor, 5, 0, 0, 2000, 0, 27, 0, -40, 0, 2, 512, 0, 0, 0, {}, {bonus bDex, 1; bonus bAgi, 1; bonus bMaxHP, 1500; set @minLvl, 1;callfunc "RestrictedItem";}
diff --git a/world/map/db/item_db_offhand.txt b/world/map/db/item_db_offhand.txt
index 7ed9369c..9272c480 100644
--- a/world/map/db/item_db_offhand.txt
+++ b/world/map/db/item_db_offhand.txt
@@ -5,4 +5,4 @@
602, WoodenShield, 5, 10000, 2000, 1500, 0, 14, 0, -70, 0, 2, 32, 0, 0, 0, {}, {}
603, LeatherShield, 5, 2000, 1000, 1300, 0, 7, 0, -35, 0, 2, 32, 0, 0, 0, {}, {}
797, BromenalShield, 5, 40000, 3000, 2500, 0, 20, 0, -200, 0, 2, 32, 0, 0, 0, {}, {}
-5285, DragonShield, 5, 40000, 3000, 2500, 0, 30, 0, -200, 0, 2, 32, 0, 0, 0, {}, {}
+5285, DragonShield, 5, 40000, 3000, 2500, 0, 30, 0, -200, 0, 2, 32, 0, 0, 0, {}, {set @minLvl, 1;callfunc "RestrictedItem";}
diff --git a/world/map/db/item_db_weapon.txt b/world/map/db/item_db_weapon.txt
index a9cbb199..5ac38d6e 100644
--- a/world/map/db/item_db_weapon.txt
+++ b/world/map/db/item_db_weapon.txt
@@ -64,4 +64,4 @@
//ID, Name___________________, Type, Price, Sell, Weight, ATK, DEF, Range, Mbonus, Slot, Gender, Loc, wLV, eLV, View, {UseScript}, {EquipScript}
5260, Snowball, 10, 1, 0, 1, 20, 0, 0, 0, 0, 2, 32768, 0, 0, 0, {}, {set @AmmoType, AMMO_XMAS; callfunc "CheckAmmo";}
5261, SnowLauncher, 4, 500, 50, 10, 20, 0, 3, 0, 0, 2, 2, 1, 1, 11, {}, {set @LauncherType, AMMO_XMAS; callfunc "CheckLauncher";}
-5284, Revolver, 4, 1500000, 500000, 3000, 120, 0, 5, 0, 0, 2, 2, 1, 1, 11, {}, {set @LauncherType, AMMO_SLING; callfunc "CheckLauncher";}
+5284, Revolver, 4, 1500000, 500000, 3000, 120, 0, 5, 0, 0, 2, 2, 1, 1, 11, {}, {set @LauncherType, AMMO_SLING; callfunc "CheckLauncher"; set @minLvl, 1;callfunc "RestrictedItem";}