Jump to content

Question

Posted

Can i Request a custom drop via script that all monsters except MVP on endless tower ONLY drops a certain item like gold or potion.

It wont drop jellopy or other items, only the specific item stated on the script.

 

Sample on floor 1-25 : all monsters except MVP only drops Red potion.

on Floor 26-50 : all monsters except MVP only drops yellow potion

51-75 : White

76-100 : Ygg

 

thanks.

9 answers to this question

Recommended Posts

Posted

You'd have to disable all of their regular drops which I don't think is possible by a script command.

 

thanks, if monster drops will be remained and only add a chance to gain 50% potion on ET. Would that be possible?

Posted

It's actually pretty easy to do with my new version of the Endless Tower script (v2.2).

  • Add the 'nomobloot' mapflag to all x@tower maps, which will disable drops from all monsters except MVPs.
  • In the "OnMyMobDead" labels, create your desired drops with either 'makeitem' or simply 'getitem' (using any conditions you need).
Posted (edited)

It's actually pretty easy to do with my new version of the Endless Tower script (v2.2).

  • Add the 'nomobloot' mapflag to all x@tower maps, which will disable drops from all monsters except MVPs.
  • In the "OnMyMobDead" labels, create your desired drops with either 'makeitem' or simply 'getitem' (using any conditions you need).

 

Can you please guide me how to add a nomobloot mapflag on @tower 1-2 sample lines will do. thanks

Edited by Rock And Paper
Posted

 

It's actually pretty easy to do with my new version of the Endless Tower script (v2.2).

  • Add the 'nomobloot' mapflag to all x@tower maps, which will disable drops from all monsters except MVPs.
  • In the "OnMyMobDead" labels, create your desired drops with either 'makeitem' or simply 'getitem' (using any conditions you need).

 

Can you please guide me how to add a nomobloot mapflag on @tower 1-2 sample lines will do. thanks

 

 

in \rAthena\npc\mapflag

 

there is a text file noloot.txt just add the mapflags for 1@tower till 6@tower for nomobloot

 

here's the description of it

 

*noloot

*nomobloot

*nomvploot

Disables normal monsters and MVPs from dropping items on a map. Looted items will always drop.

'noloot' is the same as 'nomobloot' and 'nomvploot' combined.

Posted (edited)

thank you kamikaze666, i used nomobloot but it also removed the drops from the MVP

 

also thanks euphy finally got the code for it.

 

But how do i emulate the drops of MVP? Misc drop is 100%, equips are on 50% and card is on 1%.

Edited by Rock And Paper
Posted (edited)

i have added this on ET script.

OnMyMobDead:

if(killedrid == 1086) // GTB
		{
			getitem 616,1; //OCA
			getitem 714,1;

			if (rand(100) < 51) // 50% chance of activating.
			{
				getitem 2246,1;
			}
			
			if (rand(100) < 21) // 20% chance of activating.
				getitem 4128,1; //card
		}
		else
		getitem 969,1;

	set .@mob_dead_num,mobcount("1@tower",instance_npcname("4FGate102tower", instance_id())+"::OnMyMobDead");
	if (.@mob_dead_num < 1) {
		initnpctimer;
		//SetItemPartyInMap in_102floor 5
	}
	else
		instance_announce 0, "Remaining Monsters on the 5th Level - " + .@mob_dead_num,bc_map,"0x00ff99";
	end;

OnTimer5000:
	instance_announce 0, "All Monsters on the 5th Level have been defeated.",bc_map,"0xffff00";
	donpcevent instance_npcname("5FGate102tower", instance_id())+"::OnEnable";
	stopnpctimer;
	end;
}

Im getting Gold on normal mob but on GTB it doesnt drop anything.

Edited by Rock And Paper
Posted

i have added this on ET script.

OnMyMobDead:

if(killedrid == 1086) // GTB
		{
			getitem 616,1; //OCA
			getitem 714,1;

			if (rand(100) < 51) // 50% chance of activating.
			{
				getitem 2246,1;
			}
			
			if (rand(100) < 21) // 20% chance of activating.
				getitem 4128,1; //card
		}
		else
		getitem 969,1;

	set .@mob_dead_num,mobcount("1@tower",instance_npcname("4FGate102tower", instance_id())+"::OnMyMobDead");
	if (.@mob_dead_num < 1) {
		initnpctimer;
		//SetItemPartyInMap in_102floor 5
	}
	else
		instance_announce 0, "Remaining Monsters on the 5th Level - " + .@mob_dead_num,bc_map,"0x00ff99";
	end;

OnTimer5000:
	instance_announce 0, "All Monsters on the 5th Level have been defeated.",bc_map,"0xffff00";
	donpcevent instance_npcname("5FGate102tower", instance_id())+"::OnEnable";
	stopnpctimer;
	end;
}

Im getting Gold on normal mob but on GTB it doesnt drop anything.

 

That's because Killedrid isn't set on custom mob event labels... I submited this as a bug but it guess it was overlooked check your other post for a solution.

Posted

i have added this on ET script.

OnMyMobDead:

if(killedrid == 1086) // GTB
		{
			getitem 616,1; //OCA
			getitem 714,1;

			if (rand(100) < 51) // 50% chance of activating.
			{
				getitem 2246,1;
			}
			
			if (rand(100) < 21) // 20% chance of activating.
				getitem 4128,1; //card
		}
		else
		getitem 969,1;

	set .@mob_dead_num,mobcount("1@tower",instance_npcname("4FGate102tower", instance_id())+"::OnMyMobDead");
	if (.@mob_dead_num < 1) {
		initnpctimer;
		//SetItemPartyInMap in_102floor 5
	}
	else
		instance_announce 0, "Remaining Monsters on the 5th Level - " + .@mob_dead_num,bc_map,"0x00ff99";
	end;

OnTimer5000:
	instance_announce 0, "All Monsters on the 5th Level have been defeated.",bc_map,"0xffff00";
	donpcevent instance_npcname("5FGate102tower", instance_id())+"::OnEnable";
	stopnpctimer;
	end;
}

Im getting Gold on normal mob but on GTB it doesnt drop anything.

 

That's because Killedrid isn't set on custom mob event labels... I submited this as a bug but it guess it was overlooked check your other post for a solution.

 

Thank You.

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...