Jump to content
  • 0
AinsLord

Buffer NPC with buff for VIP and non VIP

Question

anyone here have an NPC that gives buff for non VIP and VIP players

 

example the if the NPC detects that the player has no VIP he/she only gets heal + Agi + Bless

but if the NPC detects the player is a VIP it will give additional buffs like Food buffs etc

 

thnx in advance

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 1
prontera,0,0,0	script	buffer	444,{
	//buffs for everyone
	specialeffect2 EF_INCAGILITY;
	sc_start SC_INCREASEAGI,60000,10;
	specialeffect2 EF_BLESSING;
	sc_start SC_BLESSING,60000,10;
	specialeffect2 EF_HEAL2;
	percentheal 100,100;
	
	//vip buffs
	if(vip_status(VIP_STATUS_ACTIVE)){
		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 sader1992
  • MVP 1

Share this post


Link to post
Share on other sites
  • 0

Ty Sir ur D'best ^_^

Share this post


Link to post
Share on other sites
  • 0
On 8/27/2018 at 12:11 PM, sader1992 said:
prontera,0,0,0	script	buffer	444,{
	//buffs for everyone
	specialeffect2 EF_INCAGILITY;
	sc_start SC_INCREASEAGI,60000,10;
	specialeffect2 EF_BLESSING;
	sc_start SC_BLESSING,60000,10;
	specialeffect2 EF_HEAL2;
	percentheal 100,100;
	
	//vip buffs
	if(vip_status(VIP_STATUS_ACTIVE)){
		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;
}

 

how to make 8am will appear the buffer npc and it will announce if will appear and 3mins before it will disappear again

and next appear will 1pm and next will 6pm again

sorry if i cant explain so clearly hope someone can understand what i want in this script hehehe

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