Jump to content
  • 0

H>Healer NPC


GM Winter

Question


  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.14
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

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
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1188
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  

 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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.05
  • Content Count:  45
  • Reputation:   25
  • Joined:  09/09/23
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.14
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.14
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

thank you @hendra814 you just missed " here            " mes "have enough Zeny"; " problem solved thanks alot

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1188
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  

1 hour ago, GM Winter said:

thank you @hendra814 you just missed " here            " mes "have enough Zeny"; " problem solved thanks alot

Thanks for the information.

  • Love 1
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...