summaryrefslogtreecommitdiff
path: root/npc/001-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-01 14:13:00 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-01 14:13:00 -0300
commit1c0eceb0b96abe3cd5100b43710ee128e06b96f6 (patch)
treea8e9f81f4082110a6d692c788ba528e347eacaed /npc/001-1
parent5437e09d3109864aa624a5b39bed88c36a26cc2e (diff)
downloadserverdata-1c0eceb0b96abe3cd5100b43710ee128e06b96f6.tar.gz
serverdata-1c0eceb0b96abe3cd5100b43710ee128e06b96f6.tar.bz2
serverdata-1c0eceb0b96abe3cd5100b43710ee128e06b96f6.tar.xz
serverdata-1c0eceb0b96abe3cd5100b43710ee128e06b96f6.zip
Fix EventMaster
Diffstat (limited to 'npc/001-1')
-rw-r--r--npc/001-1/eventmaster.txt23
1 files changed, 19 insertions, 4 deletions
diff --git a/npc/001-1/eventmaster.txt b/npc/001-1/eventmaster.txt
index f0a299916..a61f6a770 100644
--- a/npc/001-1/eventmaster.txt
+++ b/npc/001-1/eventmaster.txt
@@ -18,7 +18,22 @@
areamonster("001-1", 20, 20, 340, 160, strmobinfo(1, getarg(1)), getarg(1), getarg(2), "Mana Being#001-1::OnAerosMobDeath");
break;
default:
- areamonster("001-1", 171, 0, 339, 158, strmobinfo(1, getarg(1)), getarg(1), getarg(2), "Mana Being#001-1::OnAerosMobDeath");
+ areamonster("001-1", 171, 320, 158, 339, strmobinfo(1, getarg(1)), getarg(1), getarg(2), "Mana Being#001-1::OnAerosMobDeath");
+ break;
+ }
+ }
+
+ function mkitem { // ( ID )
+ // [0] East [1] West [2] Full makeitem
+ switch($@AEROS_SPWN) {
+ case 1:
+ makeitem(getarg(0), 1, "001-1", rand(20,140), rand(20,140));
+ break;
+ case 2:
+ makeitem(getarg(0), 1, "001-1", rand(20,340), rand(20,160));
+ break;
+ default:
+ makeitem(getarg(0), 1, "001-1", rand(171,320), rand(158,339));
break;
}
}
@@ -729,7 +744,7 @@ L_Boss:
L_Drop:
delitem(StrangeCoin,10);
- makeitem(Toothbrush, 1, "001-1", rand(171,319), rand(20,138));
+ mkitem(Toothbrush);
mes "";
mes "Dropped.";
next;
@@ -737,7 +752,7 @@ L_Drop:
L_Bgif:
delitem(StrangeCoin,10);
- makeitem(BronzeGift, 1, "001-1", rand(171,319), rand(20,138));
+ mkitem(BronzeGift);
mes "";
mes "Bronze Gift Dropped.";
next;
@@ -745,7 +760,7 @@ L_Bgif:
L_Sgif:
delitem(StrangeCoin,10);
- makeitem(SilverGift, 1, "001-1", rand(171,319), rand(20,138));
+ mkitem(SilverGift);
mes "";
mes "Silver Gift Dropped.";
next;