summaryrefslogtreecommitdiff
path: root/npc/items
diff options
context:
space:
mode:
authorAlige <aligetmw@hotmail.fr>2012-12-24 18:00:56 +0400
committerAlige <aligetmw@hotmail.fr>2012-12-24 18:00:56 +0400
commit17975296c914b7bb48f1707a26ad8a6d71870299 (patch)
tree250abf08530d7c1194ae998f5be60f1f0d752411 /npc/items
parentc37b247eafd2a8816fcea496d80a901ea2bf135f (diff)
downloadserverdata-17975296c914b7bb48f1707a26ad8a6d71870299.tar.gz
serverdata-17975296c914b7bb48f1707a26ad8a6d71870299.tar.bz2
serverdata-17975296c914b7bb48f1707a26ad8a6d71870299.tar.xz
serverdata-17975296c914b7bb48f1707a26ad8a6d71870299.zip
Fixed several things in the script of alige.
Added the missing script for the headache created by the pumpkin seeds. Differenciated the scripts of the blobime and the seeds.
Diffstat (limited to 'npc/items')
-rw-r--r--npc/items/poisonedblobime.txt4
-rw-r--r--npc/items/poisonedseeds.txt17
2 files changed, 19 insertions, 2 deletions
diff --git a/npc/items/poisonedblobime.txt b/npc/items/poisonedblobime.txt
index 2cb4ea64c..4b1213d9f 100644
--- a/npc/items/poisonedblobime.txt
+++ b/npc/items/poisonedblobime.txt
@@ -5,12 +5,12 @@
// Vasily_Makarov
// Description:
// 1/2 chances to get poisoned.
-// 1/2 chances to get healed (1 HP).
+// 1/2 chances to get healed (4 HP).
function script usePoisonedBlobime {
set @temp, rand(2);
if (!@temp) sc_start sc_poison, 1, 50;
- if (@temp) itemheal 1, 0;
+ if (@temp) itemheal 4, 0;
set @temp, 0;
return;
}
diff --git a/npc/items/poisonedseeds.txt b/npc/items/poisonedseeds.txt
new file mode 100644
index 000000000..864104eba
--- /dev/null
+++ b/npc/items/poisonedseeds.txt
@@ -0,0 +1,17 @@
+// Evol scripts.
+// Authors:
+// Alige
+// Alastrim
+// Reid
+// Vasily_Makarov
+// Description:
+// 3/4 chances to get poisoned.
+// 1/4 chances to get healed (1 HP).
+
+function script usePoisonedSeeds {
+ set @temp, rand(4);
+ if (!@temp) itemheal 1, 0;
+ if (@temp) sc_start sc_poison, 1, 50;
+ set @temp, 0;
+ return;
+}