Jump to content
  • 0

Add gepard check fishing


Question

Posted
-	script	Fishing Chest	-1,{

set #fishc,0;

//Fishing rod
set .@Rod,2764;
//Fishing Lure
set .@Lure,2775;

//Fishing Muffler
set .@Muffler,2550;
//Fishing Boots
set .@Boots,2443;

//Auto-Fish
set .@Auto,1;
//Auto-Fish on Fail
set .@AutoFail,1;

Fish:
if (isequipped(.@Muffler)) && (isequipped(.@Boots)) {
	if( #fishc >= 30000) end;
} else {
	if( #fishc >= 15000) end;
}
	if (isequipped(.@Rod)) && (isequipped(.@Lure)){
		specialeffect EF_BUBBLE,"Fishing Hole";
		//soundeffect "fishingrod.wav",0;
		set #fishc,#fishc+1;
		set .@fcast,10;
			if (isequipped(.@Muffler)) && (isequipped(.@Boots)) {
				set .@fcast,.@fcast - 8;
				dispbottom "[Fishing] Casting... "+#fishc+"/30000";
			} else {
				dispbottom "[Fishing] Casting... "+#fishc+"/15000";
			}
		progressbar "ffffff",.@fcast;
		if (rand(1,20) == 2){
		getitem 12103,1; //Bloody Branch
		specialeffect2 EF_TEMP_OK;
		//soundeffectall "success.wav",0,strcharinfo(3);
		//mapannounce strcharinfo(3),strcharinfo(0)+" has caught a Blue Fish!",bc_map,"0xff77ff";
		if(.@Auto==1){
		goto Fish;}else{
		end;}
		}
			if (rand(1,6) == 1) ||(rand(1,6) == 3) || (rand(1,6) == 6){
			setarray .@Catch[0],579,908,909,963,956,6049,918,960,910,938,624;// List of Junk/Other
			set .@CatchRand,.@Catch[rand(getarraysize(.@Catch))];
			getitem .@CatchRand,1;
			}
			else {
			dispbottom "[Fishing] Nothing was caught...";
			if(.@AutoFail == 1){
			goto Fish;} else{
			end;}
			}
		if (rand(1,100) == 3){
		//setarray .@Rare[0],7179,7179,7179;
		//set .@RareCatch, .@Rare[rand(getarraysize(.@Rare))];
		//getitem .@RareCatch,1; //Reward
		set #EventP,#EventP+10;
		message strcharinfo(0),"[Fishing]: you've gained 10 event points.";
		//mapannounce strcharinfo(3),strcharinfo(0)+" has caught a "+getitemname(.@RareCatch)+"!",bc_map,"0x33CC00";
		}
		if(.@Auto == 1){
		goto Fish;} else{
		end;}
		}
	else {
	dispbottom "[Fishing] You need a Rod and Lure.";
	end;
	}
}
maintown,93,305,3	duplicate(Fishing Chest)	Fishing Chest#1	10005
maintown,93,310,3	duplicate(Fishing Chest)	Fishing Chest#2	10005
maintown,93,315,3	duplicate(Fishing Chest)	Fishing Chest#3	10005

can someone add gepard check on this script that no one dual can fishing. TIA ♥

1 answer to this question

Recommended Posts

  • 0
Posted
45 minutes ago, qtdan said:

can someone add gepard check on this script that no one dual can fishing. TIA ♥

you can add gepard check on maps bro
make it simple

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