summaryrefslogtreecommitdiff
path: root/npc/items
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2012-04-05 03:57:00 +0200
committerReid <reidyaro@gmail.com>2012-04-05 03:57:00 +0200
commit552f7d34cee2ce2930985f23f7c84a67340c00c4 (patch)
tree482581f9d144d03517fe4a1074788186a14942a7 /npc/items
parent5a9063a89dd757d5b61cdbfd62f72f6af5dfdc03 (diff)
downloadserverdata-552f7d34cee2ce2930985f23f7c84a67340c00c4.tar.gz
serverdata-552f7d34cee2ce2930985f23f7c84a67340c00c4.tar.bz2
serverdata-552f7d34cee2ce2930985f23f7c84a67340c00c4.tar.xz
serverdata-552f7d34cee2ce2930985f23f7c84a67340c00c4.zip
Add new item script,
Add new items in item_db.
Diffstat (limited to 'npc/items')
-rw-r--r--npc/items/PoisonedBlobime.txt13
1 files changed, 13 insertions, 0 deletions
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;
+}