Jump to content

mleo1

Community Contributors
  • Content Count

    314
  • Joined

  • Last visited

Posts posted by mleo1


  1. function	script	checkclass	{	if( Class==Job_Assassin || Class==Job_Assassin_Cross ) goto Lskillssin;	if( Class==Job_Bard || Class==Job_Clown ) goto Lskillsbard;    if( Class==Job_Knight || Class==Job_Lord_Knight ) goto Lskillsknight; 	return;	Lskillssin:        bonus2 bAddRace,7,20;                                  bonus bIntravision,0;                                  if(getrefine()>=10) { bonus bAllStats,5; }      	return;Lskillsknight:		         bonus2 bAddRace,7,20;                          bonus bIntravision,0;                                  if(getrefine()>=10) { bonus bAllStats,5; }      	return;Lskillsbard:        bonus2 bAddRace,7,20;                                  bonus bIntravision,0;                                  if(getrefine()>=10) { bonus bAllStats,5; }               		return;}
    1599,Angra_Manyu,Angra Manyu,4,1,,10,200,,2,0,0xFFFFFFFF,7,2,2,1,1,1,8,{ callfunc "checkclass"; },{},{}

     

     

     

     


  2. edit /conf/battle/client.conf

     

    change wedding_modifydisplay to 1
     

    // Will tuxedo and wedding dresses be shown when worn? (Note 1)wedding_modifydisplay: 1 


    add this to your itemdb2
     

    2338,Wedding_Dress,Wedding Dress,5,43000,,500,,0,,0,0xFFFFFFFE,7,0,16,,0,1,0,{},{ setoption Option_Wedding,1; },{ setoption Option_Wedding,0; }7170,Tuxedo,Tuxedo,5,43000,,10,,0,,0,0xFFFFFFFE,7,1,16,,0,1,0,{},{ setoption Option_Wedding,1; },{ setoption Option_Wedding,0; } 

  3. this should be included in hercules.


    Ontopic

    just edit your source then recompile.

    or use this script if you dont like to edit source

    -	script	atcmd_maprecall	-1,{	OnInit:		bindatcmd("maprecall",strnpcinfo(3)+"::OnATC");		end;	OnATC:		if(getgmlevel()==0) end;		getmapxy .@map$,.@x,.@y,0;		mapwarp .@map$,.@map$,.@x,.@y,0;}

  4. -	script	Punching Bag	-1,{	OnInit: 	OnDeath:	monster "prontera",156,170,"Punching Bag",1905,1,strnpcinfo(3)+"::OnDeath";}

    or

     

    -	script	Punching Bag	-1,{	OnInit: 	monster "prontera",156,170,"Punching Bag",1905,1,strnpcinfo(3)+"::OnInit";}

     

    here you go

     


  5. thanks, I learned alot, I browsed the script_command doc too

    I made this from your sample..
     

    prontera,155,177,5	script	test	99,{ callfunc("refinedeed",1,10);}function	script	refinedeed	{/*1 Head Upper2 Body3 Left Hand4 Right Hand5 Robe6 Footgear7 Accessory Left8 Accessory Right9 Head Mid10 Head Low*/	set .@itempos, getarg(0);  	set .@refinex, getarg(1);		if( !getequipisenableref(.@itempos) ) end;	if( getequiprefinerycnt(.@itempos)==.@refinex ) end;		for( set .@i,1; .@i <= .@refinex; set .@i,.@i+1 ) successrefitem .@itempos;}

     

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.