summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-06 22:13:22 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-06 22:13:22 -0300
commit4cf7a9e63fb40ec5d6e58138d27cf6c0e68395e0 (patch)
tree59fb8fcca7ec7e0a6755393fd5e052b2ccb141f9
parent60c4d2a730bdce0a79d67a9fa13c79267811b03e (diff)
downloadserverdata-4cf7a9e63fb40ec5d6e58138d27cf6c0e68395e0.tar.gz
serverdata-4cf7a9e63fb40ec5d6e58138d27cf6c0e68395e0.tar.bz2
serverdata-4cf7a9e63fb40ec5d6e58138d27cf6c0e68395e0.tar.xz
serverdata-4cf7a9e63fb40ec5d6e58138d27cf6c0e68395e0.zip
You can also bury randomly Strange Coins on Aeros :D
-rw-r--r--npc/001-1/eventmaster.txt38
1 files changed, 27 insertions, 11 deletions
diff --git a/npc/001-1/eventmaster.txt b/npc/001-1/eventmaster.txt
index c1b562cab..647443887 100644
--- a/npc/001-1/eventmaster.txt
+++ b/npc/001-1/eventmaster.txt
@@ -18,7 +18,7 @@
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, 320, 158, 339, strmobinfo(1, getarg(1)), getarg(1), getarg(2), "Mana Being#001-1::OnAerosMobDeath");
+ areamonster("001-1", 171, 320, 158, 340, strmobinfo(1, getarg(1)), getarg(1), getarg(2), "Mana Being#001-1::OnAerosMobDeath");
break;
}
}
@@ -36,11 +36,24 @@
break;
default:
for (.@i = 0; .@i < getarg(1,1); .@i++)
- makeitem(getarg(0), 1, "001-1", rand(171,320), rand(158,339));
+ makeitem(getarg(0), 1, "001-1", rand(171,320), rand(158,340));
break;
}
}
+ function buryitem { // ( ID{, Amount} )
+ // [0] East [1] West [2] Full makeitem
+ switch($@AEROS_SPWN) {
+ case 1:
+ shovel_scatter("001-1", 20, 20, 140, 140, getarg(0), getarg(1,1));
+ break;
+ case 2:
+ shovel_scatter("001-1", 20, 20, 340, 160, getarg(0), getarg(1,1));
+ default:
+ shovel_scatter("001-1",171,158, 320, 340, getarg(0), getarg(1,1));
+ }
+ }
+
.@curmobc=mobcount("001-1", "Mana Being#001-1::OnAerosMobDeath");
if (!is_gm()) goto L_Unauthorized;
@@ -746,11 +759,12 @@ L_Boss:
L_Drop:
select
"Abort", // 1
- "Toothbrush", // 2
- "Bronze Gift" , // 3
- "Silver Gift", // 4
- "Golden Gift", // 5
- "Prism Gift", // 6
+ "Bury 10x Coins", // 2
+ "Toothbrush", // 3
+ "Bronze Gift", // 4
+ "Silver Gift", // 5
+ "Golden Gift", // 6
+ "Prism Gift", // 7
"Supreme Gift"; // default
if (@menu != 1)
@@ -764,14 +778,16 @@ L_Drop:
goto L_Menu;
break;
case 2:
- mkitem(Toothbrush, .@c); break;
+ buryitem(StrangeCoin, .@c*any(9,10,10,10,11,11)); break;
case 3:
- mkitem(BronzeGift, .@c); break;
+ mkitem(Toothbrush, .@c); break;
case 4:
- mkitem(SilverGift, .@c); break;
+ mkitem(BronzeGift, .@c); break;
case 5:
- mkitem(GoldenGift, .@c); break;
+ mkitem(SilverGift, .@c); break;
case 6:
+ mkitem(GoldenGift, .@c); break;
+ case 7:
mkitem(PrismGift, .@c); break;
default:
mkitem(SupremeGift, .@c); break;