Jump to content
  • 0

@arealoot PLEASE HELP :D


Question

12 answers to this question

Recommended Posts

Posted

make @itemrain Item_ID Number_of_drop_items

-	script	Haze2	-1,{
Onitemrain:
	.@itemid = atoi( .@atcmd_parameters$ );
	.@amount = atoi( .@atcmd_parameters$[1] );
	if ( getitemname( .@itemid ) == "null" ) {
		message strcharinfo(0), "Invalid Item ID";
		end;
	}
	if ( .@amount <= 0 || .@amount > 100 )
		.@amount = 100;
	.@area = getbattleflag("area_size");
	getmapxy .@map$, .@x, .@y, 0;
	while ( .@i < .@amount ) {
		do {
			.@dx = rand( -.@area, .@area );
			.@dy = rand( -.@area, .@area );
		} while( !checkcell( .@map$,(.@x+.@dx),(.@y+.@dy),cell_chkpass ) );
		makeitem .@itemid, 1, .@map$, .@x + .@dx, .@y + .@dy;
		.@i++;
	}
	end;
OnInit:
	bindatcmd "itemrain", strnpcinfo(0) +"::Onitemrain", 60,99;
	end;
}
Posted (edited)

hum... I ned comand  :(

 

This command retrieves the item you are in the area of 3x3 exists on multiple servers .. GGRO, TALANRO ETC

Edited by Marra
Posted

hum... I ned comand  :(

 

This command retrieves the item you are in the area of 3x3 exists on multiple servers .. GGRO, TALANRO ETC

 

hErcules have this but in plugin mod...  /sob

Posted (edited)

Just make a script at commands that makes character cast greed?

 

He want it passive not active, example:

 

You attack a poring with a swordsman, poring dies and all itens in 3 cells of your range go to your inventory.

You attack a poring with a archer, poring dies but the itens drops in ground because the distance between the poring and the archer is 7 cells.

 

Its a plugin for hercules.

Edited by FXFreitas
Posted

Just make a script at commands that makes character cast greed?

He want it passive not active, example:

You attack a poring with a swordsman, poring dies and all itens in 3 cells of your range go to your inventory.

You attack a poring with a archer, poring dies but the itens drops in ground because the distance between the poring and the archer is 7 cells.

Its a plugin for hercules.

Ah I understand, mb

  • 0
Posted

Then what is @autoloot or @alootid for?  Once the player kills the mob, can just cast greed then that should be it.

I would try to create a command i guess then add a custom greed skill for a 3v3 area. then make it passive with the command skill

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