moroccx,152,134,0 script School of Fish 844,{
if (isequipped(2764)) && (isequipped(2775)){
specialeffect2 EF_BUBBLE;
set .@fcast,7;
if (isequipped(2550)) { //Fisher's_Muffler
set .@fcast,.@fcast - 3;
}
if (isequipped(2443)) { //Fish_Shoes
set .@fcast,.@fcast - 2;
}
progressbar "ffffff",.@fcast;
if (rand(1,20) == 2) {
getitem 13550,10; //Big Fish
specialeffect EF_BUBBLE;
mapannounce "allstar","" + strcharinfo(0) + " has caught a Fish Slice Box!!!",bc_map,"0xff77ff";
end;
}
set .@rhea_ran,rand(1,70);
if (.@rhea_ran < 20) {
getitem 7420,5; //Fresh Fish
}
else if (.@rhea_ran == 20) {
getitem 13604,1; //Spawn
}
else if (.@rhea_ran == 21) {
getitem 13592,1; //Jellopy
}
else if (.@rhea_ran == 22) {
getitem 13578,1; //Sharp_Scale
}
else if (.@rhea_ran == 23) {
getitem 13596,1; //Gill
}
else if (.@rhea_ran == 24) {
getitem 13572,1; //Marlin
}
else if (.@rhea_ran == 25) {
getitem 13574,1; //Sticky_Webfoot
}
else if (.@rhea_ran == 26) {
getitem 13891,1; //Nipper
}
else if (.@rhea_ran == 27) {
getitem 13892,1; //Garlet
}
else if (.@rhea_ran == 28) {
getitem 13893,1; //Sticky_Mucus
}
else if (.@rhea_ran == 29) {
set #CASHPOINTS, #CASHPOINTS + 5; // <-- Cashpoint
}
else if ((.@rhea_ran > 29) && (.@rhea_ran < 40)) {
getitem 13894,1; //Rotten Fish
}
else {
mes "Nothing was caught.";
close;
}
if (rand(1,200) == 3) {
getitem 13550,10; //Gift_Box
mapannounce "allstar","" + strcharinfo(0) + " has caught a Fish Slice Box!!",bc_map,"0x00ffff";
}
if (rand(1,500) == 3) {
getitem 12106,1; //Old_Blue_Box
mapannounce "allstar","" + strcharinfo(0) + " has caught an Jewelry Box!!",bc_map,"0x00ffff";
}
if (rand(1,3000) == 3) {
getitem 12106,1; //Old_Violet_Box
mapannounce "allstar","" + strcharinfo(0) + " has caught an Jewelry Box!!",bc_map,"0x44ff44";
}
end;
}
else {
mes "Fish are swimming in the water.";
close;
}
}