// --------------------------------------------------------------------------------------------* // // // ______ _ // // | ___ \ | | // // | |_/ /___ ___ ___ _ __ ___ ___ _ _ _ __ | |_ // // | // _ \/ __|/ _ \ '_ ` _ \ / _ \| | | | '_ \| __| // // | |\ \ (_) \__ \ __/ | | | | | (_) | |_| | | | | |_ // // \_| \_\___/|___/\___|_| |_| |_|\___/ \__,_|_| |_|\__| // // // // _____ _ _ // // / ___| (_) | | // // \ `--. ___ _ __ _ _ __ | |_ // // `--. \/ __| '__| | '_ \| __| // // /\__/ / (__| | | | |_) | |_ // // \____/ \___|_| |_| .__/ \__| // // | | // // |_| // // --------------------------------------------------------------------------------------------* // Create By ~ Rosemount // // Current Version ~ v1.0 // // Tested ~ Latest Rathena // // --------------------------------------------------------------------------------------------* jawaii,236,231,0 script Fishing Spot#01::FSpot 1158,{ set .@Rod,2764; // Rod ID set .@Lure,2775; // Lure ID set .@Muffler,2550; // Fisher Muffler ID set .@Boots,2443; // Fisher Boots ID set .@SP,20; // Use 20 SP set .@PBC$,"Green"; // Progress Bar Color set .@Fishcast,15; // Fishing Casting Time if( isequipped(.@Rod)) && ( isequipped(.@Lure)) { set .@Fishcast,.@Fishcast -3; goto L_fishing; } dispbottom "You dont have "+getitemname(.@Rod)+" and "+getitemname(.@Lure); end; if( isequipped(.@Muffler)) { set .@Fishcast,.@Fishcast -5; end; } if( isequipped(.@Boots)) { set .@Fishcast,.@Fishcast -5; end; L_fishing: if(SP < .@SP ) end; set SP,SP - .@SP; progressbar ".@PBC$",.@Fishcast; if(rand(15) == 10) goto L_small; if(rand(50) == 25) goto L_medium; if(rand(100) == 50) goto L_bigger; else { dispbottom "Nothing was caught"; goto L_fishing; L_Small: set @SmallItem, callfunc("F_Rand",579,1023,624); getitem callfunc("F_Rand",579,1023,624),1; announce ""+strcharinfo(0)+" was caught "+getitemname(@SmallItem)+"",bc_map,"0xff66ff"; goto L_fishing; L_medium: set @MediumItem, callfunc("F_Rand",2403,2404,2311,504,603); getitem callfunc("F_Rand",2403,2404,2311,504,603),1; announce ""+strcharinfo(0)+" was caught "+getitemname(@MediumItem)+"",bc_map,"0xff66ff"; goto L_fishing; L_bigger: set @BiggerItem, callfunc("F_Rand",5065,5222,5380,5403,5792); getitem callfunc("F_Rand",5065,5222,5380,5403,5792),1; announce ""+strcharinfo(0)+" was caught "+getitemname(@BiggerItem)+"",bc_map,"0xff66ff"; goto L_fishing; } } } jawaii,234,244,0 duplicate(FSpot) Fishing Spot#02 1158 jawaii,247,237,0 duplicate(FSpot) Fishing Spot#03 1158 jawaii,248,221,0 duplicate(FSpot) Fishing Spot#04 1158 jawaii,224,239,0 duplicate(FSpot) Fishing Spot#05 1158 jawaii,215,251,0 duplicate(FSpot) Fishing Spot#06 1158