Jump to content
  • 0

[request] How to make a NPC party buffer?


Kaito Kid

Question


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  102
  • Reputation:   4
  • Joined:  12/05/11
  • Last Seen:  

Okay.... is there posibble to make a party buffer??? If the party leader or member click the buff it will gave a buff for all party member in same area..... thanks :D

Link to comment
Share on other sites

2 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 ~

prontera,155,181,5 script Sample 718,{
if( !getcharid(1) ){
mes "You didnt have Party.";
close;
}
getpartymember getcharid(1),1;
getpartymember getcharid(1),2;
set .@Location$,strcharinfo(3);
for ( set .@i, 0; .@i < $@partymembercount; set .@i, .@i +1 ){
if ( isloggedin($@partymemberaid[.@i]) && attachrid($@partymemberaid[.@i]) && strcharinfo(3) == .@Location$ ){
 message strcharinfo(0),"Your Party get buffs.";
 sc_start SC_BLESSING,300000,10;
 sc_start SC_INCREASEAGI,300000,10;
 sc_start SC_MAGNIFICAT,300000,5;
 sc_start SC_ANGELUS,300000,10;
 }
}
end;
}

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


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  102
  • Reputation:   4
  • Joined:  12/05/11
  • Last Seen:  

try this ~

prontera,155,181,5 script Sample 718,{
if( !getcharid(1) ){
mes "You didnt have Party.";
close;
}
getpartymember getcharid(1),1;
getpartymember getcharid(1),2;
set .@Location$,strcharinfo(3);
for ( set .@i, 0; .@i < $@partymembercount; set .@i, .@i +1 ){
if ( isloggedin($@partymemberaid[.@i]) && attachrid $@partymemberaid[.@i] && strcharinfo(3) == .@Location$ ){
 message strcharinfo(0),"Your Party get buffs.";
 sc_start SC_BLESSING,300000,10;
 sc_start SC_INCREASEAGI,300000,10;
 sc_start SC_MAGNIFICAT,300000,5;
 sc_start SC_ANGELUS,300000,10;
 }
}
end;
}

Nice Emistry..... at least my dreams come true :D

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