Jump to content
  • 0

[request] How to make a NPC party buffer?


Question

2 answers to this question

Recommended Posts

Posted (edited)

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
Posted

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

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