Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prontera,138,180,4 script Farm Zone 567,{
- mes "You can farm various items inside.";
- mes "which included ^FF0000Cash Points + Items^000000";
- set @no_item_loot,( select( "Item + Cash Points","Cash Points" ) - 1 );
- warp "new_1-3",105,67;
- close;
- OnInit:
- waitingroom "Farm Zone",0;
- monster "new_1-3",0,0,"Farm",1561,800,strnpcinfo(0)+"::OnCashGain";
- monster "new_1-3",0,0,"Farm",1561,800,strnpcinfo(0)+"::OnNormalKilled";
- end;
- OnCashGain:
- set #CASHPOINTS,#CASHPOINTS + 2;
- set @cash_poring,@cash_poring + 1;
- dispbottom "Accumulated Cash Point : "+callfunc( "ValueConvert",#CASHPOINTS )+" Points.";
- monster "new_1-3",0,0,"Farm",1561,1,strnpcinfo(0)+"::OnCashGain";
- end;
- OnNormalKilled:
- if( @no_item_loot ){
- dispbottom "No Item Drop since you selected 'Only Cash' mode.";
- }else{
- getitem 7420,3;
- getitem 7539,3;
- getitem 12031,1;
- getitem 12030,1;
- getitem 7179,1;
- }
- monster "new_1-3",0,0,"Farm",1561,1,strnpcinfo(0)+"::OnNormalKilled";
- end;
- }
- new_1-3 mapflag noexp
- new_1-3 mapflag noskill
- new_1-3 mapflag nomemo
- new_1-3 mapflag nobranch
- new_1-3 mapflag nosave
- - script homun_block -1,{
- OnPCLoadMapEvent:
- if (strcharinfo(3)=="new_1-3" && gethominfo(0)) {
- dispbottom "Please remove your homunculus to enter the map";
- warp "SavePoint",0,0;
- }
- end;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement