Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // https://rathena.org/board/topic/117048-help-zeny-farm-system/
- guild_vs1,0,0 monster Dokebi 1110,100,1000,"farm_map_main::OnKill_1"
- guild_vs2,0,0 monster Poring 1002,30,1000,"farm_map_main::OnKill_2"
- guild_vs3,0,0 monster Dokebi 1113,100,1000,"farm_map_main::OnKill_3"
- prontera,155,181,5 script Sample 4_F_KAFRA1,{
- doevent "farm_map_main::OnTalk";
- }
- - script farm_map_main -1,{
- OnTalk:
- mes "Enter farm map?";
- if (select("Yes", "No") == 1) {
- if (Class != Job_Clown) {
- mes "only a "+jobname(Job_Clown)+" class can enter.";
- }
- else {
- @kill_count = 0;
- callsub(L_Check, "guild_vs1", 0);
- }
- }
- close;
- OnKill_1:
- callsub(L_Check, "guild_vs2", 500);
- end;
- OnKill_2:
- callsub(L_Check, "guild_vs2", 250);
- end;
- OnKill_3:
- callsub(L_Check, "SavePoint", 100); // back to save point.
- end;
- L_Check:
- if (@kill_count >= getarg(1, 0)) {
- @kill_count = 0;
- warp getarg(0), 0, 0;
- }
- end;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement