Jump to content
  • 0

Can I request how to limit monster in a script


Question

Posted
//===== eAthena Script =======================================
//= Treasure Room
//===== By: ==================================================
//= Chasis of ThugRO
//===== Current Version: =====================================
//= v.1
//===== Compatible With: =====================================
//= Any eAthena Version
//===== Description: =========================================
//= Its a Pirate Thing way of Mining.
//= for any revision or bug just let me know
//============================================================
//========== Treasure Room Settings ==========================
bat_b02.gat	mapflag	nosave	SavePoint
bat_b02.gat	mapflag	nomemo
bat_b02.gat	mapflag	nobranch
bat_b02.gat	mapflag	noexp
bat_b02.gat	mapflag	nodrop
bat_b02.gat	mapflag	nochat
bat_b02.gat	mapflag	novending
bat_b02.gat	mapflag	nowarp
bat_b02.gat	mapflag	nowarpto
bat_b02.gat	mapflag	noreturn
//bat_b02.gat	mapflag	pvp
//bat_b02.gat	mapflag	pvp_noguild
bat_b02.gat	mapflag	noloot


//===========================================================
//=== Mobs
//===========================================================
-	script	Arena7	-1,{

OnInit:
// Target Mobs
monster "bat_b02",0,0,"Arena Guardian",1039,5,"Arena7::OnMobKilled";
end;

OnMobKilled:
monster "bat_b02",0,0,"Arena Guardian",1286,5,"Arena7::OnMobKilled";
set $@ran, rand(1,3);
if ($@ran == 1) getitem 7227,1;
if ($@ran == 2) getitem 7385,25;
if ($@ran == 3) getitem 7385,15;
}

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...