Jump to content
  • 0
Kalimus

Ajuda para Terminar um Script

Question

Ola galera.
Eu fiz esse script de VIP BUFF, mas eu n sei como fazer o NPC buffar apenas players que são VIP, então ele ta buffando todo mundo.
Se alguem souber ajudar, eu agradeço.

prontera,150,150,3    script    VIP BUFFER    4_M_TRAINEE,{

    sc_start SC_CASH_PLUSEXP,18000000,100; 
    sc_start SC_FOOD_STR_CASH,18000000,6;
    sc_start SC_FOOD_AGI_CASH,18000000,6;
    sc_start SC_FOOD_VIT_CASH,18000000,6;
    sc_start SC_FOOD_INT_CASH,18000000,6;
    sc_start SC_FOOD_DEX_CASH,18000000,6;
    sc_start SC_FOOD_LUK_CASH,18000000,6;
    sc_start SC_PLUSATTACKPOWER, 18000000, 40; 
    sc_start SC_PLUSMAGICPOWER, 18000000, 40; 

}

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
3 hours ago, Kalimus said:

Ola galera.
Eu fiz esse script de VIP BUFF, mas eu n sei como fazer o NPC buffar apenas players que são VIP, então ele ta buffando todo mundo.
Se alguem souber ajudar, eu agradeço.

prontera,150,150,3    script    VIP BUFFER    4_M_TRAINEE,{

    sc_start SC_CASH_PLUSEXP,18000000,100; 
    sc_start SC_FOOD_STR_CASH,18000000,6;
    sc_start SC_FOOD_AGI_CASH,18000000,6;
    sc_start SC_FOOD_VIT_CASH,18000000,6;
    sc_start SC_FOOD_INT_CASH,18000000,6;
    sc_start SC_FOOD_DEX_CASH,18000000,6;
    sc_start SC_FOOD_LUK_CASH,18000000,6;
    sc_start SC_PLUSATTACKPOWER, 18000000, 40; 
    sc_start SC_PLUSMAGICPOWER, 18000000, 40; 

}

#############################################
set @LVL,1;                    // Level de GM necessário para entrar na Sala ViP!
//---------------------------------------------------------------

if(getgmlevel() < @LVL) {
mes "[Gerente VIP]";
mes "Você precisa ser ViP!";
close;
}
mes "[Gerente VIP]";
mes "Olá, deseja Buff VIP ?";
next;
menu "SIM!",-,"Cancelar!",cancel;
sc_start SC_CASH_PLUSEXP,18000000,100; 
sc_start SC_FOOD_STR_CASH,18000000,6;
sc_start SC_FOOD_AGI_CASH,18000000,6;
sc_start SC_FOOD_VIT_CASH,18000000,6;
sc_start SC_FOOD_INT_CASH,18000000,6;
sc_start SC_FOOD_DEX_CASH,18000000,6;
sc_start SC_FOOD_LUK_CASH,18000000,6;
sc_start SC_PLUSATTACKPOWER, 18000000, 40; 
sc_start SC_PLUSMAGICPOWER, 18000000, 40;
end;

cancel:
close;
end;
}

 

####################
tenta usar ai, ou usa o esquema e edita conforme sua preferencia.

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

Important Information

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