Jump to content
  • 0

Can someone edit this script


Question

Posted


prontera,155,181,5 script Sample 757,{
mes "Go into Gold Room ?";
switch( select( "Warp to Gold Room:Exchange to Gold" )){
Case 1:
warp "guild",0,0;
end;
Case 2:
if( !#GoldPoint ){
mes "You didnt have any Gold Points.";
}else{
mes "Total Accumulated Gold Point = "+#GoldPoint+" Points.";
mes "How many will be changed to Gold ?";
do{
input @Amount,0,#GoldPoint;
if( !@Amount ) close;
}while( !checkweight( 969,@Amount ) );
set #GoldPoint,#GoldPoint - @Amount;
getitem 969,#GoldPoint;
}
break;
}
close;

OnInit:
monster "guild_vs5",0,0,"Gold",100,strnpcinfo(0)+"::OnKilled";
end;

OnKilled:
set #GoldPoint,#GoldPoint + rand(3);
dispbottom "Total Accumulated Gold Point = "+#GoldPoint+" Points.";
monster "guild_vs5",0,0,"Gold",1,strnpcinfo(0)+"::OnKilled";
end;
}

 

NO MONSTER :( 

can someone edit this script to summon a monster?

2 answers to this question

Recommended Posts

Posted

From:

monster "guild_vs5",0,0,"Gold",100,strnpcinfo(0)+"::OnKilled";

To:

monster "guild_vs5",0,0,"Gold",<mob_id>,<amount>,strnpcinfo(0)+"::OnKilled";

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