Jump to content
  • 0

Buffer NPC with buff for VIP and non VIP


AinsLord

Question


  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

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

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 1

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

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

  • 0

  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

Ty Sir ur D'best ^_^

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   4
  • Joined:  02/19/17
  • Last Seen:  

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

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