Jump to content
  • 0

Help Me Fix Mob Damage.. thx alot


Question

Posted (edited)

Hi All..Im still new in here.. i hve some problem about my server

i make farmzone for ppl farm.. but i dono how to make monster inside get dmage only 1 when ppl attack.. can u help me fix??

next

i have problems about respawn time mob inside farmzone.. they take time to long for respawn.. can u help me fix make 2sec respawn??

last

i hve problem my server 2nd job.. but ppl can change rebelion / kageruo job.. how to closed it.. 

Edited by shahaspire

7 answers to this question

Recommended Posts

  • 0
Posted

what the monsters you use in the map ?

(you make) = can you show us the script you use for the monsters ?

for the job change i think you use rathena-master\npc\custom\jobmaster.txt

just open it and edit it 

 .SecondExpanded = 0;        // Enable new expanded second classes: Ex. Super Novice, Kagerou/Oboro, Rebellion? (1: yes / 0: no)

 

  • 0
Posted

for the monsters to take 1 dmg i would suggest you use custom monster or monster that aren't used in any map

this for more info how you can make the monster take 1 dmg mob_db_mode_list

 

for the respawn time i think you can use this script i edit it

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;
end;

OnNPCKillEvent:
	set @mobswitch, rand(1,2);
	getmapxy .@map$,.@mx,.@my,0;
	if(.@map$ == "new_1-3")
	{
		if( killedrid == 1561 ){
			if(@mobswitch==1){
				set #CASHPOINTS,#CASHPOINTS + 2;
				set @cash_poring,@cash_poring + 1;
				//dispbottom "Accumulated Cash Point : "+callfunc( "ValueConvert",#CASHPOINTS )+" Points.";
				dispbottom "cash";
	
			}else{
				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;
				
				}
			}
		}
	}
end;
}
new_1-3,0,0,0,0	monster	Farm	1561,300,0,0,0
new_1-3,0,0,0,0	monster	Farm	1561,300,0,0,0
new_1-3,0,0,0,0	monster	Farm	1561,300,0,0,0

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;
}

but i don't know what this line for >>

dispbottom "Accumulated Cash Point : "+callfunc( "ValueConvert",#CASHPOINTS )+" Points.";

 

  • 0
Posted

your script after i edit it it work and i // the line it's only a chat not effect the script you can put another line instead as i did 

dispbottom "cash";

to replace it

 

 

 

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