Jump to content
  • 0

Guild owns Healer/Buffer


maynard

Question


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   1
  • Joined:  12/21/11
  • Last Seen:  

Requesting a healer+buffer with pay. 10k for heal/agi/bless 100,000k for heal/agi/bless/windwalk/assumptio. This is owned by the winning guild "kriemhild".The payment will go to the winning guild. Only the guild leader can get the zeny.thank you.

Edited by maynard
Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

try this..and edit the Buff Lists at your own...

prontera,155,181,5 script Sample 757,{
set .Guild,getcastledata( "prtg_cas01",1 );
if( getcharid(2) == .Guild ){
mes "Total Earning : "+$Earn+" Zeny.";
}
mes "The Heal Cost will be paid to the Winning Guild.";
mes "Heal - 10k";
mes "Buff 1 - 100k";
mes "Buff 2 - 200k";
next;
switch( select( "Heal",
"Buff 1",
"Buff 2",
( strcharinfo(0) != getguildmaster( .Guild ) )?"":"[^0000FFMaster^000000] Claim Earn" )){
Case 1:
 if( Zeny < 10000 ){
  mes "You didnt have enough 10k Zeny.";
 }else{
  mes "Done";
  percentheal 100,100; // Heal
  set Zeny,Zeny - 10000;
  set $Earn,$Earn + 10000;
 }
 close;
Case 2:
 if( Zeny < 100000 ){
  mes "You didnt have enough 100k Zeny.";
 }else{
  mes "Done";
  percentheal 100,100;  // Buff 1
  set Zeny,Zeny - 100000;
  set $Earn,$Earn + 100000;
 }
 close;
Case 3:
 if( Zeny < 200000 ){
  mes "You didnt have enough 200k Zeny.";
 }else{
  mes "Done";
  percentheal 100,100; // Buff 2
  set Zeny,Zeny - 200000;
  set $Earn,$Earn + 200000;
 }
 close;
Case 4:
 mes "Total Earning : "+$Earn+" Zeny.";
 if( select("Claim It:Cancel") == 2 ) close;
  mes "How much you want to claim ?";
 do{
  input @Amount,0,$Earn;
  if( !@Amount ) close;
  if( ( Zeny + @Amount ) > 1000000000 ) mes "Limit Exceed...";
 }while( ( Zeny + @Amount ) > 1000000000 );
 mes "Gained "+@Amount+" Zeny.";
 set Zeny,Zeny + @Amount;
 set $Earn,$Earn - @Amount;
 close;
}
}

Edited by Emistry
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   1
  • Joined:  12/21/11
  • Last Seen:  

sir thank you very much.its working great. i remove the line# 23 because it give me error but after removing that, its working perfectly. once again a nice job well done.A little more NPC script and my goal is complete.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

sir thank you very much.its working great. i remove the line# 23 because it give me error but after removing that, its working perfectly. once again a nice job well done.A little more NPC script and my goal is complete.

What is the error? Removing one line carelessly can completely mess up how a script works.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

sir thank you very much.its working great. i remove the line# 23 because it give me error but after removing that, its working perfectly. once again a nice job well done.A little more NPC script and my goal is complete.

What is the error? Removing one line carelessly can completely mess up how a script works.

Nevermind..it is fixed by himself... i was accidently added an extra line...

you didnt found it coz i edited my posts right after he post the problems...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

Oh, I see. I was like I don't see anything.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   1
  • Joined:  12/21/11
  • Last Seen:  

I found a bug,If you click it the first time it will show you the menu and its working properly but if you click it the 2nd time it will show you the zeny but there's no menu.you can;t type or do anything, to resolve this you have to warp tru alt-m. This is only happen to the winning guild. If im just ordinary player who don't belong to the winning guild it works properly no matter how many times I click.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

but if you click it the 2nd time it will show you the zeny but there's no menu.you can;t type or do anything, to resolve this you have to warp tru alt-m.

There should be an Error Message in Map Server.....check it....and post here if you donno how solve

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   1
  • Joined:  12/21/11
  • Last Seen:  

Thank you, there's no error in the mapserv, I re input the skill and buffs and that solved my problem.DONE

Link to comment
Share on other sites

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.

×
×
  • Create New...