Jump to content
  • 0
Deviszh

LHZ_dun04 NO MOBS / pre-re

Question

2 answers to this question

Recommended Posts

  • 0

Copy

//========================================================================================
// lhz_dun04 - Bio-life Labs 4F
//========================================================================================
lhz_dun04,0,0,0,0	monster	Randel	2221,42,5000,0,0
lhz_dun04,0,0,0,0	monster	Flamel	2222,42,5000,0,0
lhz_dun04,0,0,0,0	monster	Celia	2223,81,5000,0,0
lhz_dun04,0,0,0,0	monster	Chen	2224,42,5000,0,0
lhz_dun04,0,0,0,0	monster	Gertie	2225,57,5000,0,0
lhz_dun04,0,0,0,0	monster	Alphoccio	2226,42,5000,0,0
lhz_dun04,0,0,0,0	monster	Trentini	2227,42,5000,0,0
lhz_dun04,0,0,0,0	monster	Paladin Randel	2228,1,3300000,3000000,1
lhz_dun04,0,0,0,0	monster	Creator Flamel	2229,1,3300000,3000000,1
lhz_dun04,0,0,0,0	monster	Professor Celia	2230,1,3300000,3000000,1
lhz_dun04,0,0,0,0	monster	Champion Chen	2231,1,3300000,3000000,1
lhz_dun04,0,0,0,0	monster	Stalker Gertie	2232,1,3300000,3000000,1
lhz_dun04,0,0,0,0	monster	Clown Alphoccio	2233,1,3300000,3000000,1
lhz_dun04,0,0,0,0	monster	Gypsy Trentini	2234,1,3300000,3000000,1

lhz_dun04,0,0,0	script	mvp_lhz_dun04	-1,{
OnTimer6000000: // delay1 = 6000000 ms (100 min)
	stopnpctimer;
	sleep rand(0,30)*60000; // 0 to 30 minutes
OnInit:
	// Select Coordinates to summon a random MVP on
	switch(rand(1,7)) {
		case 1:  set [email protected],77;   set [email protected],251;  break;
		case 2:  set [email protected],147;  set [email protected],224;  break;
		case 3:  set [email protected],219;  set [email protected],219;  break;
		case 4:  set [email protected],244;  set [email protected],120;  break;
		case 5:  set [email protected],149;  set [email protected],41;   break;
		case 6:  set [email protected],53;   set [email protected],109;  break;
		case 7:  set [email protected],149;  set [email protected],151;  break;
	}
	set [email protected],rand(2235,2241);
	monster "lhz_dun04",[email protected],[email protected],strmobinfo(1,[email protected]),[email protected],1,strnpcinfo(3)+"::OnLhzMvPDead";

	// Select Coordinates to summon a random 99 on
	switch(rand(1,7)) {
		case 1:  set [email protected],77;   set [email protected],251;  break;
		case 2:  set [email protected],147;  set [email protected],224;  break;
		case 3:  set [email protected],219;  set [email protected],219;  break;
		case 4:  set [email protected],244;  set [email protected],120;  break;
		case 5:  set [email protected],149;  set [email protected],41;   break;
		case 6:  set [email protected],53;   set [email protected],109;  break;
		case 7:  set [email protected],149;  set [email protected],151;  break;
	}
	set [email protected],rand(2228,2234);
	monster "lhz_dun04",[email protected],[email protected],strmobinfo(1,[email protected]),[email protected],1,strnpcinfo(3)+"::OnMy99Dead";
	end;

OnLhzMvPDead:
	killmonster "lhz_dun04",strnpcinfo(3)+"::OnMy99Dead";
	initnpctimer;
OnMy99Dead:
	end;
} 

from

https://github.com/rathena/rathena/blob/master/npc/re/mobs/dungeons/lhz_dun.txt

to

https://github.com/rathena/rathena/blob/master/npc/pre-re/mobs/dungeons/lhz_dun.txt
Link to comment
Share on other sites

  • 0

 

Copy

//========================================================================================
// lhz_dun04 - Bio-life Labs 4F
//========================================================================================
lhz_dun04,0,0,0,0	monster	Randel	2221,42,5000,0,0
lhz_dun04,0,0,0,0	monster	Flamel	2222,42,5000,0,0
lhz_dun04,0,0,0,0	monster	Celia	2223,81,5000,0,0
lhz_dun04,0,0,0,0	monster	Chen	2224,42,5000,0,0
lhz_dun04,0,0,0,0	monster	Gertie	2225,57,5000,0,0
lhz_dun04,0,0,0,0	monster	Alphoccio	2226,42,5000,0,0
lhz_dun04,0,0,0,0	monster	Trentini	2227,42,5000,0,0
lhz_dun04,0,0,0,0	monster	Paladin Randel	2228,1,3300000,3000000,1
lhz_dun04,0,0,0,0	monster	Creator Flamel	2229,1,3300000,3000000,1
lhz_dun04,0,0,0,0	monster	Professor Celia	2230,1,3300000,3000000,1
lhz_dun04,0,0,0,0	monster	Champion Chen	2231,1,3300000,3000000,1
lhz_dun04,0,0,0,0	monster	Stalker Gertie	2232,1,3300000,3000000,1
lhz_dun04,0,0,0,0	monster	Clown Alphoccio	2233,1,3300000,3000000,1
lhz_dun04,0,0,0,0	monster	Gypsy Trentini	2234,1,3300000,3000000,1

lhz_dun04,0,0,0	script	mvp_lhz_dun04	-1,{
OnTimer6000000: // delay1 = 6000000 ms (100 min)
	stopnpctimer;
	sleep rand(0,30)*60000; // 0 to 30 minutes
OnInit:
	// Select Coordinates to summon a random MVP on
	switch(rand(1,7)) {
		case 1:  set [email protected],77;   set [email protected],251;  break;
		case 2:  set [email protected],147;  set [email protected],224;  break;
		case 3:  set [email protected],219;  set [email protected],219;  break;
		case 4:  set [email protected],244;  set [email protected],120;  break;
		case 5:  set [email protected],149;  set [email protected],41;   break;
		case 6:  set [email protected],53;   set [email protected],109;  break;
		case 7:  set [email protected],149;  set [email protected],151;  break;
	}
	set [email protected],rand(2235,2241);
	monster "lhz_dun04",[email protected],[email protected],strmobinfo(1,[email protected]),[email protected],1,strnpcinfo(3)+"::OnLhzMvPDead";

	// Select Coordinates to summon a random 99 on
	switch(rand(1,7)) {
		case 1:  set [email protected],77;   set [email protected],251;  break;
		case 2:  set [email protected],147;  set [email protected],224;  break;
		case 3:  set [email protected],219;  set [email protected],219;  break;
		case 4:  set [email protected],244;  set [email protected],120;  break;
		case 5:  set [email protected],149;  set [email protected],41;   break;
		case 6:  set [email protected],53;   set [email protected],109;  break;
		case 7:  set [email protected],149;  set [email protected],151;  break;
	}
	set [email protected],rand(2228,2234);
	monster "lhz_dun04",[email protected],[email protected],strmobinfo(1,[email protected]),[email protected],1,strnpcinfo(3)+"::OnMy99Dead";
	end;

OnLhzMvPDead:
	killmonster "lhz_dun04",strnpcinfo(3)+"::OnMy99Dead";
	initnpctimer;
OnMy99Dead:
	end;
} 

from

https://github.com/rathena/rathena/blob/master/npc/re/mobs/dungeons/lhz_dun.txt

to

https://github.com/rathena/rathena/blob/master/npc/pre-re/mobs/dungeons/lhz_dun.txt

 

just did it, and dont forget to add the mob in lhz_dun04 in pre-re mob_db.txt  /ok

Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.