diff options
author | Reid <reidyaro@gmail.com> | 2012-04-05 03:57:00 +0200 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2012-04-05 03:57:00 +0200 |
commit | 552f7d34cee2ce2930985f23f7c84a67340c00c4 (patch) | |
tree | 482581f9d144d03517fe4a1074788186a14942a7 | |
parent | 5a9063a89dd757d5b61cdbfd62f72f6af5dfdc03 (diff) | |
download | clientdata-552f7d34cee2ce2930985f23f7c84a67340c00c4.tar.gz clientdata-552f7d34cee2ce2930985f23f7c84a67340c00c4.tar.bz2 clientdata-552f7d34cee2ce2930985f23f7c84a67340c00c4.tar.xz clientdata-552f7d34cee2ce2930985f23f7c84a67340c00c4.zip |
Add new item script,
Add new items in item_db.
-rw-r--r-- | db/item_db.txt | 26 | ||||
-rw-r--r-- | npc/items/PoisonedBlobime.txt | 13 |
2 files changed, 30 insertions, 9 deletions
diff --git a/db/item_db.txt b/db/item_db.txt index 8cfc6a54..2c658ac5 100644 --- a/db/item_db.txt +++ b/db/item_db.txt @@ -1,13 +1,17 @@ #ID, Name, Label, Attr, Type, Price, Sell, Weight,ATK, DEF, Range, Mbonus,Slot, Gender,Loc, wLV, eLV, View, LifeTime, {UseScript} {EquipScript} {UnEquipScript} 0, DEFAULT, Default, 0, 0, 0, 0, 10, , , , , , 2, , , , , 0, {}, {} -501, Acorn, Acorn, 0, 0, 10, 2, 2, , , , , , 2, , , 0, , 0, { itemheal 150, 0; }, {} -502, Bread, Bread, 0, 0, 15, 8, 5, , , , , , 2, , , 0, , 0, { itemheal 300, 0; }, {} -503, Carrot, Carrot, 0, 0, 20, 10, 6, , , , , , 2, , , 0, , 0, { itemheal 250, 0; }, {} -504, Cheese, Cheese, 0, 0, 40, 18, 6, , , , , , 2, , , 0, , 0, { itemheal 500, 0; }, {} -505, Piouslegs, Pious legs, 0, 0, 10, 3, 5, , , , , , 2, , , 0, , 0, { itemheal 100, 0; }, {} -506, Lettuce, Lettuce, 0, 0, 25, 12, 5, , , , , , 2, , , 0, , 0, { itemheal 150, 0; }, {} -507, Piberries, Piberries, 0, 0, 40, 20, 3, , , , , , 2, , , 0, , 0, { itemheal 200, 0; }, {} +501, Acorn, Acorn, 0, 0, 10, 2, 2, , , , , , 2, , , 0, , 0, { itemheal 15, 0; }, {} +502, Bread, Bread, 0, 0, 15, 8, 5, , , , , , 2, , , 0, , 0, { itemheal 30, 0; }, {} +503, Carrot, Carrot, 0, 0, 20, 10, 6, , , , , , 2, , , 0, , 0, { itemheal 25, 0; }, {} +504, Cheese, Cheese, 0, 0, 40, 18, 6, , , , , , 2, , , 0, , 0, { itemheal 50, 0; }, {} +505, Piouslegs, Pious legs, 0, 0, 10, 3, 5, , , , , , 2, , , 0, , 0, { itemheal 10, 0; }, {} +506, Lettuce, Lettuce, 0, 0, 25, 12, 5, , , , , , 2, , , 0, , 0, { itemheal 15, 0; }, {} +507, Piberries, Piberries, 0, 0, 40, 20, 3, , , , , , 2, , , 0, , 0, { itemheal 20, 0; }, {} 508, Seadrop, Sea drop, 0, 0, 5, 1, 2, , , , , , 2, , , 0, , 0, {callfunc "usePoisonedWater";},{} +509, Aquada, Aquada, 0, 0, 50, 24, 5, , , , , , 2, , , 0, , 0, { itemheal 30, 0; }, {} +510, PinkBlobime, PinkBlobime, 0, 0, 30, 13, 2, , , , , , 2, , , 0, , 0, {callfunc "usePoisonedBlobime";}, {} +// 511, PurpleBlobime, Purple Blobime, 0, 0, 60, 27, 2, , , , , , 2, , , 0, , 0, {callfunc "usePoisonedBlobime";}, {} +512, Fungus, Fungus, 0, 0, 50, 23, 7, , , , , , 2, , , 0, , 0, { itemheal 25, 0; }, {} 700, Three-leafclover, Three-leaf clover, 0, 3, 10, 3, 5, , , , , , , , , , , 0, {}, {} 701, Piousfeathers, Pious feathers, 0, 3, 60, 35, 1, , , , , , , , , , , 0, {}, {} 702, Tortugasshellfragment, Tortugas shell fragment, 0, 3, 40, 15, 15, , , , , , , , , , , 0, {}, {} @@ -18,12 +22,16 @@ 707, Squichyclaws, Squichy claws, 0, 3, 60, 30, 10, , , , , , , , , , , 0, {}, {} 708, Tortugasshell, Tortugas shell, 0, 3, 100, 50, 35, , , , , , , , , , , 0, {}, {} 709, Tortugastongue, Tortugas tongue, 0, 3, 25, 10, 5, , , , , , , , , , , 0, {}, {} -1300, Usedshirt, Used shirt, 0, 5, 100, 25, 50, , 2, , , 0, 2, 512, , 0, , 0, {}, {} +710, Pearl, Pearl, 0, 3, 5000, 250, 2, , , , , , , , , , , 0, {}, {} +711, Coral, Coral, 0, 3, 300, 99, 10, , , , , , , , , , , 0, {}, {} +712, BlueCoral, Blue Coral, 0, 3, 500, 125, 10, , , , , , , , , , , 0, {}, {} +713, LittleTentacle, Little Tentacle, 0, 3, 50, 20, 5, , , , , , , , , , , 0, {}, {} +1300, Wornshirt, Used shirt, 0, 5, 100, 25, 50, , 2, , , 0, 2, 512, , 0, , 0, {}, {} 1301, Sailortanktop, Sailor tank top, 0, 5, 2000, 250, 40, , 3, , , 0, 2, 512, , 0, , 0, {}, {} 1302, Sailorshirt, Sailor shirt, 0, 5, 7500, 950, 75, , 4, , , 0, 2, 512, , 0, , 0, {}, {} 1800, Boots, Boots, 0, 5, 1000, 150, 30, , 1, , , 0, 2, 64, , 0, , 0, {}, {} 2000, Bracelets, Bracelets, 0, 5, 2000, 250, 30, , 1, , , 0, 2, 4, , 0, , 0, {}, {} -2200, Usedshort, Used short, 0, 5, 80, 20, 35, , 2, , , 0, 2, 1, , 0, , 0, {}, {} +2200, Wornshort, Worn short, 0, 5, 80, 20, 35, , 2, , , 0, 2, 1, , 0, , 0, {}, {} 2900, Bandana, Bandana, 0, 5, 500, 100, 13, , 1, , , 0, 2, 256, , 0, , 0, {}, {} 3500, Knife, Knife, 0, 4, 50, 25, 50, 10, , , , 0, 2, 2, 1, 1, 1, 0, {}, {} # <------ 23chars ------> <------ 23chars ------> diff --git a/npc/items/PoisonedBlobime.txt b/npc/items/PoisonedBlobime.txt new file mode 100644 index 00000000..505ff89f --- /dev/null +++ b/npc/items/PoisonedBlobime.txt @@ -0,0 +1,13 @@ +// Evol scripts. +// Authors: +// Alastrim, Vasily_Makarov, Reid +// Description: +// Heal of 15hp and add 1/4 bad luck to be poisoned. + +function script usePoisonedBlobime { + set @temp, rand(2); + if (!@temp) sc_start sc_poison, 1, 50; + if (@temp) itemheal 1, 0; + set @temp, 0; + return; +} |