Jump to content
  • 0
Sign in to follow this  
Azhura

AnnieRuru Party Match

Question

Been playing around with the party match script created by @AnnieRuru and it has been helpful when hosting a rpc like matches with the server. Currently players can abuse it by performing outside buffs before the recall. I am trying to add a debuff before the recall but it seems like SC_END needs GID for it to be executed can anyone help me correct the callsub below? TIA :D

 

My callsub 

Spoiler

L_debuff_party_members:
    if (!getarg(0))
        mes "Party "+ getarg(1) +" = ^FF0000None^000000";
    else {
        getpartymember getarg(0), 0;
        getpartymember getarg(0), 1;
        getpartymember getarg(0), 2;

        for (.@i = 0; .@i < $@partymembercount; ++.@i) {
            attachrid $@partymemberaid[.@i];
            sc_end(SC_ALL, $@partymembercid[.@i]); 
        }
    }
    return;


 

Party match of AnnieRuru

 

Edited by Azhura

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

  • 0
7 hours ago, Quazi said:

 

Thank you so much, I appreciate your suggestion :D Found the answer, It should be accountID and not character ID :)

Edited by Azhura

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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