Jump to content

Question

Posted (edited)

hello how can i put zeny payment for normal players and free for vip players group 5

 

Quote

prontera,162,197,4    script    Healer    569,{
    //buffs for everyone
    specialeffect2 EF_INCAGILITY;
    sc_start SC_INCREASEAGI,240000,10;
    specialeffect2 EF_BLESSING;
    sc_start SC_BLESSING,240000,10;
    specialeffect2 EF_HEAL2;
    percentheal 100,100;
    
    //vip buffs
    if(vip_status(VIP_STATUS_ACTIVE)){
    sc_start SC_SUFFRAGIUM,60000,3;
    sc_start SC_GLORIA,60000,5;
    sc_start SC_IMPOSITIO,60000,5;
    sc_start SC_ANGELUS,60000,10;

    
//        sc_start SC_STRFOOD,60000,10;
//        sc_start SC_INTFOOD,60000,10;
//        sc_start SC_DEXFOOD,60000,10;
//        sc_start SC_AGIFOOD,60000,10;
//        sc_start SC_VITFOOD,60000,10;
//        sc_start SC_LUKFOOD,60000,10;
    }
end;
}

 

 

Edited by GM Winter

5 answers to this question

Recommended Posts

  • 0
Posted (edited)
 prontera,162,197,4    script    Healer    569,{
	if(Zeny < 1000){
			mes "I'm sorry, but you don't";
			mes "have enough Zeny";
			end;
			}

	set Zeny, Zeny - 1000;
                
    //buffs for everyone
    specialeffect2 EF_INCAGILITY;
    sc_start SC_INCREASEAGI,240000,10;
    specialeffect2 EF_BLESSING;
    sc_start SC_BLESSING,240000,10;
    specialeffect2 EF_HEAL2;
    percentheal 100,100;
    
    //vip buffs
    if(vip_status(VIP_STATUS_ACTIVE)){
    sc_start SC_SUFFRAGIUM,60000,3;
    sc_start SC_GLORIA,60000,5;
    sc_start SC_IMPOSITIO,60000,5;
    sc_start SC_ANGELUS,60000,10;

    
//        sc_start SC_STRFOOD,60000,10;
//        sc_start SC_INTFOOD,60000,10;
//        sc_start SC_DEXFOOD,60000,10;
//        sc_start SC_AGIFOOD,60000,10;
//        sc_start SC_VITFOOD,60000,10;
//        sc_start SC_LUKFOOD,60000,10;
    }
end;
} 

Try This

Edited by hendra814
  • Upvote 1
  • 0
Posted
2 hours ago, GM Winter said:

hello how can i put zeny payment for normal players and free for vip players group 5

 

 

You can reference your question by looking at the default custom Healer that comes with rAthena.

  • 0
Posted
4 hours ago, hendra814 said:
 prontera,162,197,4    script    Healer    569,{
	if(Zeny < 1000){
			mes "I'm sorry, but you don't";
			mes "have enough Zeny;
			end;
			}

	set Zeny, Zeny - 1000;
                
    //buffs for everyone
    specialeffect2 EF_INCAGILITY;
    sc_start SC_INCREASEAGI,240000,10;
    specialeffect2 EF_BLESSING;
    sc_start SC_BLESSING,240000,10;
    specialeffect2 EF_HEAL2;
    percentheal 100,100;
    
    //vip buffs
    if(vip_status(VIP_STATUS_ACTIVE)){
    sc_start SC_SUFFRAGIUM,60000,3;
    sc_start SC_GLORIA,60000,5;
    sc_start SC_IMPOSITIO,60000,5;
    sc_start SC_ANGELUS,60000,10;

    
//        sc_start SC_STRFOOD,60000,10;
//        sc_start SC_INTFOOD,60000,10;
//        sc_start SC_DEXFOOD,60000,10;
//        sc_start SC_AGIFOOD,60000,10;
//        sc_start SC_VITFOOD,60000,10;
//        sc_start SC_LUKFOOD,60000,10;
    }
end;
} 

Try This

 

1.png

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