Healer NPC (like VIP)

karazu

New member
Messages
1,115
Points
0
Hello! How can a Healer NPC check a specific item in the inventory and if the player has that specific item in the inventory he will give the player an additional buff, but this item will not be consumed?


Anyone can give me or build a script for me like that please?

 

 
Code:
prontera,150,150,0	script	Sample	100,{	mes strnpcinfo(1);	mes "Heal heal heal ~";	specialeffect2 EF_HEAL2; percentheal 100, 100;	if ( countitem( 7227 ) ) {		specialeffect2 EF_INCAGILITY; sc_start SC_INC_AGI,240000,10;		specialeffect2 EF_BLESSING; sc_start SC_BLESSING,240000,10;	}	close;}
 
prontera,150,150,0 script Sample 100,{ mes strnpcinfo(1); mes "Heal heal heal ~"; specialeffect2 EF_HEAL2; percentheal 100, 100; if ( countitem( 7227 ) ) { specialeffect2 EF_INCAGILITY; sc_start SC_INC_AGI,240000,10; specialeffect2 EF_BLESSING; sc_start SC_BLESSING,240000,10; } close;}
wow Patskie again, Thank you

 
Back
Top