Jump to content
  • 0

Healer Delay


Dolphin86

Question


  • Group:  Members
  • Topic Count:  255
  • Topics Per Day:  0.06
  • Content Count:  706
  • Reputation:   16
  • Joined:  01/07/12
  • Last Seen:  

i was trying to add delay to prevent player spamming healer just for 10 sec and this happen..

Spoiler

1.thumb.png.44b991dee8fd10ad5f32174ab3537ef0.png

script:

Spoiler
veil,116,117,5	script	Healer	992,{

if (gettimetick(2) > #COOLDOWN_REWARD) {

#COOLDOWN_REWARD += (gettimetick(2) + 10); // 10 seconds.

specialeffect2 EF_HEAL2; percentheal 100,100;
	specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,600000,10;
	specialeffect2 EF_BLESSING; sc_start SC_BLESSING,600000,10;
	
	if ( countitem(.VIP_item) || rentalcountitem(.VIP_item) ) {
		specialeffect2 EF_ANGELUS; sc_start SC_ANGELUS,600000,10;
		specialeffect2 EF_SUFFRAGIUM; sc_start SC_SUFFRAGIUM,600000,3;
		specialeffect2 EF_IMPOSITIO; sc_start SC_IMPOSITIO,600000,5;
		specialeffect2 EF_GLORIA; sc_start SC_GLORIA,600000,5;
		specialeffect2 EF_MAGNIFICAT; sc_start SC_MAGNIFICAT,600000,5;
		specialeffect2 EF_CHEMICALPROTECTIOn; sc_start SC_CP_WEAPON,600000,5;
		sc_start SC_CP_ARMOR,600000,5;
		sc_start SC_CP_SHIELD,600000,5;
		sc_start SC_CP_HELM,600000,5;
		specialeffect2 EF_ASSUMPTIO; sc_start SC_ASSUMPTIO,600000,5;
		sc_start SC_ADRENALINE2,600000,1;
		specialeffect2 EF_MAXPOWER; sc_start SC_MAXIMIZEPOWER,600000,5;
		specialeffect2 EF_PERFECTION; sc_start SC_WEAPONPERFECTION,600000,5;
		specialeffect2 EF_ENDURE; sc_start SC_ENDURE,600000,10;
		sc_start SC_KAUPE,600000,3;
		sc_start SC_KAITE,600000,7;
		sc_start SC_STRFOOD,600000,5;
		sc_start SC_AGIFOOD,600000,5;
		sc_start SC_VITFOOD,600000,5;
		sc_start SC_INTFOOD,600000,5;
		sc_start SC_DEXFOOD,600000,5;
		sc_start SC_LUKFOOD,600000,5;

		switch ( CLASS ) {
			case 18:
			case 4019:
			case 4071:
			case 4078:
				skilleffect "SL_ALCHEMIST",0;
				sc_start4 SC_SPIRIT,9999999,5,455,0,0;
				break;
			case 15:
			case 4016:
			case 4070:
			case 4077:
				skilleffect "SL_MONK",0;
				sc_start4 SC_SPIRIT,9999999,5,447,0,0;
				break;
			case 4047:
				skilleffect "SL_STAR",0;
				sc_start4 SC_SPIRIT,9999999,5,448,0,0;
				break;
			case 16:
			case 4017:
			case 4067:
			case 4074:
				skilleffect "SL_SAGE",0;
				sc_start4 SC_SPIRIT,9999999,5,449,0,0;
				break;
			case 14:
			case 4015:
			case 4066:
			case 4073:
				skilleffect "SL_CRUSADER",0;
				sc_start4 SC_SPIRIT,9999999,5,450,0,0;
				break;
			case 23:
			case 4190:
				skilleffect "SL_SUPERNOVICE",0;
				sc_start4 SC_SPIRIT,9999999,5,451,0,0;
				break;
			case 7:
			case 4008:
			case 4054:
			case 4060:
				skilleffect "SL_KNIGHT",0;
				sc_start4 SC_SPIRIT,9999999,5,452,0,0; 
				break;
			case 9:
			case 4010:
			case 4055:
			case 4061:
				skilleffect "SL_WIZARD",0;
				sc_start4 SC_SPIRIT,9999999,5,453,0,0;
				break;
			case 8:
			case 4009:
			case 4057:
			case 4063:
				skilleffect "SL_PRIEST",0;
				sc_start4 SC_SPIRIT,9999999,5,454,0,0;
				break;
			case 19:
			case 20:
			case 4020:
			case 4021:
			case 4068:
			case 4069:
			case 4075:
			case 4076:
				skilleffect "SL_BARDDANCER",0;
				sc_start4 SC_SPIRIT,9999999,5,455,0,0;
				break;
			case 17:
			case 4018:
			case 4072:
			case 4079:
				skilleffect "SL_ROGUE",0;
				sc_start4 SC_SPIRIT,9999999,5,456,0,0;
				break;
			case 12:
			case 4013:
			case 4059:
			case 4065:
				skilleffect "SL_ASSASIN",0;
				sc_start4 SC_SPIRIT,9999999,5,457,0,0;
				break;
			case 10:
			case 4011:
				skilleffect "SL_BLACKSMITH",0;
				sc_start4 SC_SPIRIT,9999999,5,458,0,0;
				break;
			case 11:
			case 4012:
			case 4056:
			case 4062:
				skilleffect "SL_HUNTER",0;
				sc_start4 SC_SPIRIT,9999999,5,460,0,0;
				break;
			case 4049:
				skilleffect "SL_SOULLINKER",0;
				sc_start4 SC_SPIRIT,9999999,5,461,0,0;
				break;
			default:
				break;
		}
	}
	end;
	}
	
	mes "Please wait, come back again after "+(#COOLDOWN_REWARD - gettimetick(2))+" seconds.";
	close;
	
OnInit:
	.VIP_item = 992; //itemId
	end;
}

 

help?

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  255
  • Topics Per Day:  0.06
  • Content Count:  706
  • Reputation:   16
  • Joined:  01/07/12
  • Last Seen:  

Problem solved , this npc is set up by 5 sec delay from each clicks and vip detect are via items, just incase anyone needs it, here ya go credits goes to the owner of the script

Spoiler
//===== Cronus Script ===================================================
//= Buffer VIP e não VIP
//===== Criado para: ====================================================
//= Projeto AerieRO.
//===== Por: ============================================================
//= Slicer
//===== Versão Atual: ===================================================
//= 0.4
//===== Descrição: ======================================================
//= Da buffs nos jogadores, diferenciando os grupos entre vips e comuns.
//===== Changelog: ======================================================
//= 0.1 - Script criado
//= 0.2 - Adicionado checagem de level.
//= 0.3 - Atualizado para checagem de grupos.
//= 0.4 - Adicionado efeito.
//= 0.4.1 - Criado diversas duplicatas nas principais cidades.
//=======================================================================
-	script	Healer	-1,{

	if((getgroupid() < 1)) goto normal_player;
	if (countitem(992) ) goto VIP;


normal_player:

    if(#Healer_CD > gettimetick(2)) {
    mes "Please wait for 5 seconds. ";
    end;
    }

		specialeffect2 EF_HEAL2;	
		specialeffect2 EF_BLESSING;
		percentheal 100,100; // CURA HP & SP 100%
		atcommand "@identifyall";
		atcommand "@repairall";
		sc_start SC_BLESSING,600000,10; // Blessing +5
		sc_start SC_INCREASEAGI,600000,10; // Increase Agi +5
		set #Healer_CD,gettimetick(2) + 5;
		end;
		
VIP:
	    if(#Healer_CD > gettimetick(2)) {
		mes "Please wait for 5 seconds. ";
		end;
		}
	{
		
		set #Healer_CD,gettimetick(2) + 5;
		
		specialeffect2 EF_HEAL2;	
		specialeffect2 EF_BLESSING;
		percentheal 100,100; // CURA HP & SP 100%
		atcommand "@identifyall";
		atcommand "@repairall";
		sc_start SC_BLESSING,600000,10; // Blessing +5
		sc_start SC_INCREASEAGI,600000,10; // Increase Agi +5
		specialeffect2 EF_ANGELUS; sc_start SC_ANGELUS,600000,10;
		specialeffect2 EF_SUFFRAGIUM; sc_start SC_SUFFRAGIUM,600000,3;
		specialeffect2 EF_IMPOSITIO; sc_start SC_IMPOSITIO,600000,5;
		specialeffect2 EF_GLORIA; sc_start SC_GLORIA,600000,5;
		specialeffect2 EF_MAGNIFICAT; sc_start SC_MAGNIFICAT,600000,5;
		specialeffect2 EF_CHEMICALPROTECTIOn; sc_start SC_CP_WEAPON,600000,5;
		sc_start SC_CP_ARMOR,600000,5;
		sc_start SC_CP_SHIELD,600000,5;
		sc_start SC_CP_HELM,600000,5;
		specialeffect2 EF_ASSUMPTIO; sc_start SC_ASSUMPTIO,600000,5;
		sc_start SC_ADRENALINE2,600000,1;
		specialeffect2 EF_MAXPOWER; sc_start SC_MAXIMIZEPOWER,600000,5;
		specialeffect2 EF_PERFECTION; sc_start SC_WEAPONPERFECTION,600000,5;
		specialeffect2 EF_ENDURE; sc_start SC_ENDURE,600000,10;
		sc_start SC_KAUPE,600000,3;
		sc_start SC_KAITE,600000,7;
		sc_start SC_STRFOOD,600000,5;
		sc_start SC_AGIFOOD,600000,5;
		sc_start SC_VITFOOD,600000,5;
		sc_start SC_INTFOOD,600000,5;
		sc_start SC_DEXFOOD,600000,5;
		sc_start SC_LUKFOOD,600000,5;

		switch ( CLASS ) {
			case 18:
			case 4019:
			case 4071:
			case 4078:
				skilleffect "SL_ALCHEMIST",0;
				sc_start4 SC_SPIRIT,9999999,5,455,0,0;
				break;
			case 15:
			case 4016:
			case 4070:
			case 4077:
				skilleffect "SL_MONK",0;
				sc_start4 SC_SPIRIT,9999999,5,447,0,0;
				break;
			case 4047:
				skilleffect "SL_STAR",0;
				sc_start4 SC_SPIRIT,9999999,5,448,0,0;
				break;
			case 16:
			case 4017:
			case 4067:
			case 4074:
				skilleffect "SL_SAGE",0;
				sc_start4 SC_SPIRIT,9999999,5,449,0,0;
				break;
			case 14:
			case 4015:
			case 4066:
			case 4073:
				skilleffect "SL_CRUSADER",0;
				sc_start4 SC_SPIRIT,9999999,5,450,0,0;
				break;
			case 23:
			case 4190:
				skilleffect "SL_SUPERNOVICE",0;
				sc_start4 SC_SPIRIT,9999999,5,451,0,0;
				break;
			case 7:
			case 4008:
			case 4054:
			case 4060:
				skilleffect "SL_KNIGHT",0;
				sc_start4 SC_SPIRIT,9999999,5,452,0,0; 
				break;
			case 9:
			case 4010:
			case 4055:
			case 4061:
				skilleffect "SL_WIZARD",0;
				sc_start4 SC_SPIRIT,9999999,5,453,0,0;
				break;
			case 8:
			case 4009:
			case 4057:
			case 4063:
				skilleffect "SL_PRIEST",0;
				sc_start4 SC_SPIRIT,9999999,5,454,0,0;
				break;
			case 19:
			case 20:
			case 4020:
			case 4021:
			case 4068:
			case 4069:
			case 4075:
			case 4076:
				skilleffect "SL_BARDDANCER",0;
				sc_start4 SC_SPIRIT,9999999,5,455,0,0;
				break;
			case 17:
			case 4018:
			case 4072:
			case 4079:
				skilleffect "SL_ROGUE",0;
				sc_start4 SC_SPIRIT,9999999,5,456,0,0;
				break;
			case 12:
			case 4013:
			case 4059:
			case 4065:
				skilleffect "SL_ASSASIN",0;
				sc_start4 SC_SPIRIT,9999999,5,457,0,0;
				break;
			case 10:
			case 4011:
				skilleffect "SL_BLACKSMITH",0;
				sc_start4 SC_SPIRIT,9999999,5,458,0,0;
				break;
			case 11:
			case 4012:
			case 4056:
			case 4062:
				skilleffect "SL_HUNTER",0;
				sc_start4 SC_SPIRIT,9999999,5,460,0,0;
				break;
			case 4049:
				skilleffect "SL_SOULLINKER",0;
				sc_start4 SC_SPIRIT,9999999,5,461,0,0;
				break;
			default:
				break;
		}
	}
}

// Duplicates
//============================================================
veil,115,117,4	duplicate(Healer)	Healer#veil	664
alberta,25,240,6	duplicate(Healer)	Curandeira#alb	664
aldebaran,135,118,6	duplicate(Healer)	Curandeira#alde	664
amatsu,200,79,4	duplicate(Healer)	Curandeira#ama	664
ayothaya,207,169,6	duplicate(Healer)	Curandeira#ayo	664
comodo,184,158,6	duplicate(Healer)	Curandeira#com	664
einbech,57,36,6	duplicate(Healer)	Curandeira#einbe	664
einbroch,57,202,6	duplicate(Healer)	Curandeira#einbr	664
geffen,115,72,6	duplicate(Healer)	Curandeira#gef	664
gonryun,156,122,6	duplicate(Healer)	Curandeira#gon	664
hugel,89,150,6	duplicate(Healer)	Curandeira#hug	664
izlude,121,150,6	duplicate(Healer)	Curandeira#izl	664	//Pre-RE: (125,118)
jawaii,250,139,4	duplicate(Healer)	Curandeira#jaw	664
lighthalzen,149,100,6	duplicate(Healer)	Curandeira#lhz	664
louyang,226,103,4	duplicate(Healer)	Curandeira#lou	664
manuk,272,144,6	duplicate(Healer)	Curandeira#man	664
mid_camp,203,289,6	duplicate(Healer)	Curandeira#mid	664
moc_ruins,72,164,4	duplicate(Healer)	Curandeira#moc	664
morocc,153,97,6	duplicate(Healer)	Curandeira#mor	664
moscovia,220,191,4	duplicate(Healer)	Curandeira#mos	664
niflheim,212,182,5	duplicate(Healer)	Curandeira#nif	664
payon,179,106,4	duplicate(Healer)	Curandeira#pay	664
prontera,158,192,5	duplicate(Healer)	Curandeira#prt	664
rachel,125,116,6	duplicate(Healer)	Curandeira#rac	664
splendide,201,153,4	duplicate(Healer)	Curandeira#spl	664
thor_camp,249,74,4	duplicate(Healer)	Curandeira#thor	664
umbala,105,148,3	duplicate(Healer)	Curandeira#umb	664
veins,217,121,4	duplicate(Healer)	Curandeira#ve	664
xmas,143,136,4	duplicate(Healer)	Curandeira#xmas	664
yuno,164,45,4	duplicate(Healer)	Curandeira#yuno	664

// Duplicates (Renewal)
//============================================================
brasilis,194,221,6	duplicate(Healer)	Curandeira#bra	664
dewata,195,187,4	duplicate(Healer)	Curandeira#dew	664
dicastes01,201,194,4	duplicate(Healer)	Curandeira#dic	664
ecl_in01,45,60,4	duplicate(Healer)	Curandeira#ecl	664
malangdo,132,114,6	duplicate(Healer)	Curandeira#mal	664
malaya,227,204,6	duplicate(Healer)	Curandeira#ma	664

 

 

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:  

36 minutes ago, Dolphin86 said:

i was trying to add delay to prevent player spamming healer just for 10 sec and this happen..

  Hide contents

1.thumb.png.44b991dee8fd10ad5f32174ab3537ef0.png

script:

  Hide contents
veil,116,117,5	script	Healer	992,{

if (gettimetick(2) > #COOLDOWN_REWARD) {

#COOLDOWN_REWARD += (gettimetick(2) + 10); // 10 seconds.

specialeffect2 EF_HEAL2; percentheal 100,100;
	specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,600000,10;
	specialeffect2 EF_BLESSING; sc_start SC_BLESSING,600000,10;
	
	if ( countitem(.VIP_item) || rentalcountitem(.VIP_item) ) {
		specialeffect2 EF_ANGELUS; sc_start SC_ANGELUS,600000,10;
		specialeffect2 EF_SUFFRAGIUM; sc_start SC_SUFFRAGIUM,600000,3;
		specialeffect2 EF_IMPOSITIO; sc_start SC_IMPOSITIO,600000,5;
		specialeffect2 EF_GLORIA; sc_start SC_GLORIA,600000,5;
		specialeffect2 EF_MAGNIFICAT; sc_start SC_MAGNIFICAT,600000,5;
		specialeffect2 EF_CHEMICALPROTECTIOn; sc_start SC_CP_WEAPON,600000,5;
		sc_start SC_CP_ARMOR,600000,5;
		sc_start SC_CP_SHIELD,600000,5;
		sc_start SC_CP_HELM,600000,5;
		specialeffect2 EF_ASSUMPTIO; sc_start SC_ASSUMPTIO,600000,5;
		sc_start SC_ADRENALINE2,600000,1;
		specialeffect2 EF_MAXPOWER; sc_start SC_MAXIMIZEPOWER,600000,5;
		specialeffect2 EF_PERFECTION; sc_start SC_WEAPONPERFECTION,600000,5;
		specialeffect2 EF_ENDURE; sc_start SC_ENDURE,600000,10;
		sc_start SC_KAUPE,600000,3;
		sc_start SC_KAITE,600000,7;
		sc_start SC_STRFOOD,600000,5;
		sc_start SC_AGIFOOD,600000,5;
		sc_start SC_VITFOOD,600000,5;
		sc_start SC_INTFOOD,600000,5;
		sc_start SC_DEXFOOD,600000,5;
		sc_start SC_LUKFOOD,600000,5;

		switch ( CLASS ) {
			case 18:
			case 4019:
			case 4071:
			case 4078:
				skilleffect "SL_ALCHEMIST",0;
				sc_start4 SC_SPIRIT,9999999,5,455,0,0;
				break;
			case 15:
			case 4016:
			case 4070:
			case 4077:
				skilleffect "SL_MONK",0;
				sc_start4 SC_SPIRIT,9999999,5,447,0,0;
				break;
			case 4047:
				skilleffect "SL_STAR",0;
				sc_start4 SC_SPIRIT,9999999,5,448,0,0;
				break;
			case 16:
			case 4017:
			case 4067:
			case 4074:
				skilleffect "SL_SAGE",0;
				sc_start4 SC_SPIRIT,9999999,5,449,0,0;
				break;
			case 14:
			case 4015:
			case 4066:
			case 4073:
				skilleffect "SL_CRUSADER",0;
				sc_start4 SC_SPIRIT,9999999,5,450,0,0;
				break;
			case 23:
			case 4190:
				skilleffect "SL_SUPERNOVICE",0;
				sc_start4 SC_SPIRIT,9999999,5,451,0,0;
				break;
			case 7:
			case 4008:
			case 4054:
			case 4060:
				skilleffect "SL_KNIGHT",0;
				sc_start4 SC_SPIRIT,9999999,5,452,0,0; 
				break;
			case 9:
			case 4010:
			case 4055:
			case 4061:
				skilleffect "SL_WIZARD",0;
				sc_start4 SC_SPIRIT,9999999,5,453,0,0;
				break;
			case 8:
			case 4009:
			case 4057:
			case 4063:
				skilleffect "SL_PRIEST",0;
				sc_start4 SC_SPIRIT,9999999,5,454,0,0;
				break;
			case 19:
			case 20:
			case 4020:
			case 4021:
			case 4068:
			case 4069:
			case 4075:
			case 4076:
				skilleffect "SL_BARDDANCER",0;
				sc_start4 SC_SPIRIT,9999999,5,455,0,0;
				break;
			case 17:
			case 4018:
			case 4072:
			case 4079:
				skilleffect "SL_ROGUE",0;
				sc_start4 SC_SPIRIT,9999999,5,456,0,0;
				break;
			case 12:
			case 4013:
			case 4059:
			case 4065:
				skilleffect "SL_ASSASIN",0;
				sc_start4 SC_SPIRIT,9999999,5,457,0,0;
				break;
			case 10:
			case 4011:
				skilleffect "SL_BLACKSMITH",0;
				sc_start4 SC_SPIRIT,9999999,5,458,0,0;
				break;
			case 11:
			case 4012:
			case 4056:
			case 4062:
				skilleffect "SL_HUNTER",0;
				sc_start4 SC_SPIRIT,9999999,5,460,0,0;
				break;
			case 4049:
				skilleffect "SL_SOULLINKER",0;
				sc_start4 SC_SPIRIT,9999999,5,461,0,0;
				break;
			default:
				break;
		}
	}
	end;
	}
	
	mes "Please wait, come back again after "+(#COOLDOWN_REWARD - gettimetick(2))+" seconds.";
	close;
	
OnInit:
	.VIP_item = 992; //itemId
	end;
}

 

help?

try change #COOLDOWN_REWARD into .@COOLDOWN_REWARD

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  255
  • Topics Per Day:  0.06
  • Content Count:  706
  • Reputation:   16
  • Joined:  01/07/12
  • Last Seen:  

6 minutes ago, hendra814 said:

try change #COOLDOWN_REWARD into .@COOLDOWN_REWARD

well now i can click the npc without waiting for years, but it gone back to unlimited clicks

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:  

9 minutes ago, Dolphin86 said:

well now i can click the npc without waiting for years, but it gone back to unlimited clicks

try this but sorry i can't test it

veil,116,117,5	script	Healer	992,{

if (.@COOLDOWN_REWARD > gettimetick(2)) end;

specialeffect2 EF_HEAL2; percentheal 100,100;
	specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,600000,10;
	specialeffect2 EF_BLESSING; sc_start SC_BLESSING,600000,10;
	
	if ( countitem(.VIP_item) || rentalcountitem(.VIP_item) ) {
		specialeffect2 EF_ANGELUS; sc_start SC_ANGELUS,600000,10;
		specialeffect2 EF_SUFFRAGIUM; sc_start SC_SUFFRAGIUM,600000,3;
		specialeffect2 EF_IMPOSITIO; sc_start SC_IMPOSITIO,600000,5;
		specialeffect2 EF_GLORIA; sc_start SC_GLORIA,600000,5;
		specialeffect2 EF_MAGNIFICAT; sc_start SC_MAGNIFICAT,600000,5;
		specialeffect2 EF_CHEMICALPROTECTIOn; sc_start SC_CP_WEAPON,600000,5;
		sc_start SC_CP_ARMOR,600000,5;
		sc_start SC_CP_SHIELD,600000,5;
		sc_start SC_CP_HELM,600000,5;
		specialeffect2 EF_ASSUMPTIO; sc_start SC_ASSUMPTIO,600000,5;
		sc_start SC_ADRENALINE2,600000,1;
		specialeffect2 EF_MAXPOWER; sc_start SC_MAXIMIZEPOWER,600000,5;
		specialeffect2 EF_PERFECTION; sc_start SC_WEAPONPERFECTION,600000,5;
		specialeffect2 EF_ENDURE; sc_start SC_ENDURE,600000,10;
		sc_start SC_KAUPE,600000,3;
		sc_start SC_KAITE,600000,7;
		sc_start SC_STRFOOD,600000,5;
		sc_start SC_AGIFOOD,600000,5;
		sc_start SC_VITFOOD,600000,5;
		sc_start SC_INTFOOD,600000,5;
		sc_start SC_DEXFOOD,600000,5;
		sc_start SC_LUKFOOD,600000,5;

		switch ( CLASS ) {
			case 18:
			case 4019:
			case 4071:
			case 4078:
				skilleffect "SL_ALCHEMIST",0;
				sc_start4 SC_SPIRIT,9999999,5,455,0,0;
				break;
			case 15:
			case 4016:
			case 4070:
			case 4077:
				skilleffect "SL_MONK",0;
				sc_start4 SC_SPIRIT,9999999,5,447,0,0;
				break;
			case 4047:
				skilleffect "SL_STAR",0;
				sc_start4 SC_SPIRIT,9999999,5,448,0,0;
				break;
			case 16:
			case 4017:
			case 4067:
			case 4074:
				skilleffect "SL_SAGE",0;
				sc_start4 SC_SPIRIT,9999999,5,449,0,0;
				break;
			case 14:
			case 4015:
			case 4066:
			case 4073:
				skilleffect "SL_CRUSADER",0;
				sc_start4 SC_SPIRIT,9999999,5,450,0,0;
				break;
			case 23:
			case 4190:
				skilleffect "SL_SUPERNOVICE",0;
				sc_start4 SC_SPIRIT,9999999,5,451,0,0;
				break;
			case 7:
			case 4008:
			case 4054:
			case 4060:
				skilleffect "SL_KNIGHT",0;
				sc_start4 SC_SPIRIT,9999999,5,452,0,0; 
				break;
			case 9:
			case 4010:
			case 4055:
			case 4061:
				skilleffect "SL_WIZARD",0;
				sc_start4 SC_SPIRIT,9999999,5,453,0,0;
				break;
			case 8:
			case 4009:
			case 4057:
			case 4063:
				skilleffect "SL_PRIEST",0;
				sc_start4 SC_SPIRIT,9999999,5,454,0,0;
				break;
			case 19:
			case 20:
			case 4020:
			case 4021:
			case 4068:
			case 4069:
			case 4075:
			case 4076:
				skilleffect "SL_BARDDANCER",0;
				sc_start4 SC_SPIRIT,9999999,5,455,0,0;
				break;
			case 17:
			case 4018:
			case 4072:
			case 4079:
				skilleffect "SL_ROGUE",0;
				sc_start4 SC_SPIRIT,9999999,5,456,0,0;
				break;
			case 12:
			case 4013:
			case 4059:
			case 4065:
				skilleffect "SL_ASSASIN",0;
				sc_start4 SC_SPIRIT,9999999,5,457,0,0;
				break;
			case 10:
			case 4011:
				skilleffect "SL_BLACKSMITH",0;
				sc_start4 SC_SPIRIT,9999999,5,458,0,0;
				break;
			case 11:
			case 4012:
			case 4056:
			case 4062:
				skilleffect "SL_HUNTER",0;
				sc_start4 SC_SPIRIT,9999999,5,460,0,0;
				break;
			case 4049:
				skilleffect "SL_SOULLINKER",0;
				sc_start4 SC_SPIRIT,9999999,5,461,0,0;
				break;
			default:
				break;
		}
	if (.@Delay) set .@COOLDOWN_REWARD, gettimetick(2)+.@Delay;
	}
	
	mes "Please wait, come back again after "+(.@COOLDOWN_REWARD - gettimetick(2))+" seconds.";
	close;
	
OnInit:
	set .@Delay,10;
	.VIP_item = 992; //itemId
	end;

 

Edited by hendra814
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  255
  • Topics Per Day:  0.06
  • Content Count:  706
  • Reputation:   16
  • Joined:  01/07/12
  • Last Seen:  

6 minutes ago, hendra814 said:

try this but sorry i can't test it

veil,116,117,5	script	Healer	992,{

if (.@COOLDOWN_REWARD > gettimetick(2)) end;

specialeffect2 EF_HEAL2; percentheal 100,100;
	specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,600000,10;
	specialeffect2 EF_BLESSING; sc_start SC_BLESSING,600000,10;
	
	if ( countitem(.VIP_item) || rentalcountitem(.VIP_item) ) {
		specialeffect2 EF_ANGELUS; sc_start SC_ANGELUS,600000,10;
		specialeffect2 EF_SUFFRAGIUM; sc_start SC_SUFFRAGIUM,600000,3;
		specialeffect2 EF_IMPOSITIO; sc_start SC_IMPOSITIO,600000,5;
		specialeffect2 EF_GLORIA; sc_start SC_GLORIA,600000,5;
		specialeffect2 EF_MAGNIFICAT; sc_start SC_MAGNIFICAT,600000,5;
		specialeffect2 EF_CHEMICALPROTECTIOn; sc_start SC_CP_WEAPON,600000,5;
		sc_start SC_CP_ARMOR,600000,5;
		sc_start SC_CP_SHIELD,600000,5;
		sc_start SC_CP_HELM,600000,5;
		specialeffect2 EF_ASSUMPTIO; sc_start SC_ASSUMPTIO,600000,5;
		sc_start SC_ADRENALINE2,600000,1;
		specialeffect2 EF_MAXPOWER; sc_start SC_MAXIMIZEPOWER,600000,5;
		specialeffect2 EF_PERFECTION; sc_start SC_WEAPONPERFECTION,600000,5;
		specialeffect2 EF_ENDURE; sc_start SC_ENDURE,600000,10;
		sc_start SC_KAUPE,600000,3;
		sc_start SC_KAITE,600000,7;
		sc_start SC_STRFOOD,600000,5;
		sc_start SC_AGIFOOD,600000,5;
		sc_start SC_VITFOOD,600000,5;
		sc_start SC_INTFOOD,600000,5;
		sc_start SC_DEXFOOD,600000,5;
		sc_start SC_LUKFOOD,600000,5;

		switch ( CLASS ) {
			case 18:
			case 4019:
			case 4071:
			case 4078:
				skilleffect "SL_ALCHEMIST",0;
				sc_start4 SC_SPIRIT,9999999,5,455,0,0;
				break;
			case 15:
			case 4016:
			case 4070:
			case 4077:
				skilleffect "SL_MONK",0;
				sc_start4 SC_SPIRIT,9999999,5,447,0,0;
				break;
			case 4047:
				skilleffect "SL_STAR",0;
				sc_start4 SC_SPIRIT,9999999,5,448,0,0;
				break;
			case 16:
			case 4017:
			case 4067:
			case 4074:
				skilleffect "SL_SAGE",0;
				sc_start4 SC_SPIRIT,9999999,5,449,0,0;
				break;
			case 14:
			case 4015:
			case 4066:
			case 4073:
				skilleffect "SL_CRUSADER",0;
				sc_start4 SC_SPIRIT,9999999,5,450,0,0;
				break;
			case 23:
			case 4190:
				skilleffect "SL_SUPERNOVICE",0;
				sc_start4 SC_SPIRIT,9999999,5,451,0,0;
				break;
			case 7:
			case 4008:
			case 4054:
			case 4060:
				skilleffect "SL_KNIGHT",0;
				sc_start4 SC_SPIRIT,9999999,5,452,0,0; 
				break;
			case 9:
			case 4010:
			case 4055:
			case 4061:
				skilleffect "SL_WIZARD",0;
				sc_start4 SC_SPIRIT,9999999,5,453,0,0;
				break;
			case 8:
			case 4009:
			case 4057:
			case 4063:
				skilleffect "SL_PRIEST",0;
				sc_start4 SC_SPIRIT,9999999,5,454,0,0;
				break;
			case 19:
			case 20:
			case 4020:
			case 4021:
			case 4068:
			case 4069:
			case 4075:
			case 4076:
				skilleffect "SL_BARDDANCER",0;
				sc_start4 SC_SPIRIT,9999999,5,455,0,0;
				break;
			case 17:
			case 4018:
			case 4072:
			case 4079:
				skilleffect "SL_ROGUE",0;
				sc_start4 SC_SPIRIT,9999999,5,456,0,0;
				break;
			case 12:
			case 4013:
			case 4059:
			case 4065:
				skilleffect "SL_ASSASIN",0;
				sc_start4 SC_SPIRIT,9999999,5,457,0,0;
				break;
			case 10:
			case 4011:
				skilleffect "SL_BLACKSMITH",0;
				sc_start4 SC_SPIRIT,9999999,5,458,0,0;
				break;
			case 11:
			case 4012:
			case 4056:
			case 4062:
				skilleffect "SL_HUNTER",0;
				sc_start4 SC_SPIRIT,9999999,5,460,0,0;
				break;
			case 4049:
				skilleffect "SL_SOULLINKER",0;
				sc_start4 SC_SPIRIT,9999999,5,461,0,0;
				break;
			default:
				break;
		}
	if (.@Delay) set .@COOLDOWN_REWARD, gettimetick(2)+.@Delay;
	}
	
	mes "Please wait, come back again after "+(#COOLDOWN_REWARD - gettimetick(2))+" seconds.";
	close;
	
OnInit:
	set .@Delay,10;
	.VIP_item = 992; //itemId
	end;

 

[Error]: Missing 1 right curlys at file 'npc/custom/healer.txt', line '145'.

after add the missing curly, now it pop up the msg and become unlimited clicks / heal

Spoiler

image.thumb.png.54ae2219d891ed528df8add8eab11110.png

btw i have another npc using similar script, think that might be the couse?

Edited by Dolphin86
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:  

18 minutes ago, Dolphin86 said:
[Error]: Missing 1 right curlys at file 'npc/custom/healer.txt', line '145'.

after add the missing curly, now it pop up the msg and become unlimited clicks / heal

  Hide contents

image.thumb.png.54ae2219d891ed528df8add8eab11110.png

btw i have another npc using similar script, think that might be the couse?

are the 2 NPC using same parameter?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  255
  • Topics Per Day:  0.06
  • Content Count:  706
  • Reputation:   16
  • Joined:  01/07/12
  • Last Seen:  

4 minutes ago, hendra814 said:

are the 2 NPC using same parameter?

This is NPC 1:

Spoiler
veil,116,117,5	script	Healer	992,{

if (.@COOLDOWN_REWARD > gettimetick(2)) end;

specialeffect2 EF_HEAL2; percentheal 100,100;
	specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,600000,10;
	specialeffect2 EF_BLESSING; sc_start SC_BLESSING,600000,10;
	
	if ( countitem(.VIP_item) || rentalcountitem(.VIP_item) ) {
		specialeffect2 EF_ANGELUS; sc_start SC_ANGELUS,600000,10;
		specialeffect2 EF_SUFFRAGIUM; sc_start SC_SUFFRAGIUM,600000,3;
		specialeffect2 EF_IMPOSITIO; sc_start SC_IMPOSITIO,600000,5;
		specialeffect2 EF_GLORIA; sc_start SC_GLORIA,600000,5;
		specialeffect2 EF_MAGNIFICAT; sc_start SC_MAGNIFICAT,600000,5;
		specialeffect2 EF_CHEMICALPROTECTIOn; sc_start SC_CP_WEAPON,600000,5;
		sc_start SC_CP_ARMOR,600000,5;
		sc_start SC_CP_SHIELD,600000,5;
		sc_start SC_CP_HELM,600000,5;
		specialeffect2 EF_ASSUMPTIO; sc_start SC_ASSUMPTIO,600000,5;
		sc_start SC_ADRENALINE2,600000,1;
		specialeffect2 EF_MAXPOWER; sc_start SC_MAXIMIZEPOWER,600000,5;
		specialeffect2 EF_PERFECTION; sc_start SC_WEAPONPERFECTION,600000,5;
		specialeffect2 EF_ENDURE; sc_start SC_ENDURE,600000,10;
		sc_start SC_KAUPE,600000,3;
		sc_start SC_KAITE,600000,7;
		sc_start SC_STRFOOD,600000,5;
		sc_start SC_AGIFOOD,600000,5;
		sc_start SC_VITFOOD,600000,5;
		sc_start SC_INTFOOD,600000,5;
		sc_start SC_DEXFOOD,600000,5;
		sc_start SC_LUKFOOD,600000,5;

		switch ( CLASS ) {
			case 18:
			case 4019:
			case 4071:
			case 4078:
				skilleffect "SL_ALCHEMIST",0;
				sc_start4 SC_SPIRIT,9999999,5,455,0,0;
				break;
			case 15:
			case 4016:
			case 4070:
			case 4077:
				skilleffect "SL_MONK",0;
				sc_start4 SC_SPIRIT,9999999,5,447,0,0;
				break;
			case 4047:
				skilleffect "SL_STAR",0;
				sc_start4 SC_SPIRIT,9999999,5,448,0,0;
				break;
			case 16:
			case 4017:
			case 4067:
			case 4074:
				skilleffect "SL_SAGE",0;
				sc_start4 SC_SPIRIT,9999999,5,449,0,0;
				break;
			case 14:
			case 4015:
			case 4066:
			case 4073:
				skilleffect "SL_CRUSADER",0;
				sc_start4 SC_SPIRIT,9999999,5,450,0,0;
				break;
			case 23:
			case 4190:
				skilleffect "SL_SUPERNOVICE",0;
				sc_start4 SC_SPIRIT,9999999,5,451,0,0;
				break;
			case 7:
			case 4008:
			case 4054:
			case 4060:
				skilleffect "SL_KNIGHT",0;
				sc_start4 SC_SPIRIT,9999999,5,452,0,0; 
				break;
			case 9:
			case 4010:
			case 4055:
			case 4061:
				skilleffect "SL_WIZARD",0;
				sc_start4 SC_SPIRIT,9999999,5,453,0,0;
				break;
			case 8:
			case 4009:
			case 4057:
			case 4063:
				skilleffect "SL_PRIEST",0;
				sc_start4 SC_SPIRIT,9999999,5,454,0,0;
				break;
			case 19:
			case 20:
			case 4020:
			case 4021:
			case 4068:
			case 4069:
			case 4075:
			case 4076:
				skilleffect "SL_BARDDANCER",0;
				sc_start4 SC_SPIRIT,9999999,5,455,0,0;
				break;
			case 17:
			case 4018:
			case 4072:
			case 4079:
				skilleffect "SL_ROGUE",0;
				sc_start4 SC_SPIRIT,9999999,5,456,0,0;
				break;
			case 12:
			case 4013:
			case 4059:
			case 4065:
				skilleffect "SL_ASSASIN",0;
				sc_start4 SC_SPIRIT,9999999,5,457,0,0;
				break;
			case 10:
			case 4011:
				skilleffect "SL_BLACKSMITH",0;
				sc_start4 SC_SPIRIT,9999999,5,458,0,0;
				break;
			case 11:
			case 4012:
			case 4056:
			case 4062:
				skilleffect "SL_HUNTER",0;
				sc_start4 SC_SPIRIT,9999999,5,460,0,0;
				break;
			case 4049:
				skilleffect "SL_SOULLINKER",0;
				sc_start4 SC_SPIRIT,9999999,5,461,0,0;
				break;
			default:
				break;
		}
	if (.@Delay) set .@COOLDOWN_REWARD, gettimetick(2)+.@Delay;
	}
	
	mes "Please wait, come back again after "+(#COOLDOWN_REWARD - gettimetick(2))+" seconds.";
	close;
	
OnInit:
	set .@Delay,10;
	.VIP_item = 992; //itemId
	end;
}

 

This is NPC 2:

Spoiler
neko_isle,71,122,6	script	Green Tree	659,{

		if (gettimetick(2) > #COOLDOWN_REWARD) {
		#COOLDOWN_REWARD += (gettimetick(2) + 3); // 3 seconds.
		getitem 512, 1;
		set Pick,1;
					}
		
		
	if(Pick == 1){
		if (gettimetick(2) > #COOLDOWN_REWARD) {
		#COOLDOWN_REWARD += (gettimetick(2) + 3); // 3 seconds.
		getitem 512, 1;
		set Pick,2;
					}
		}
		
		if(Pick == 2){
		if (gettimetick(2) > #COOLDOWN_REWARD) {
		#COOLDOWN_REWARD += (gettimetick(2) + 3); // 3 seconds.
		getitem 512, 1;
		set Pick,3;
					}
		}
		
		if(Pick == 3){
		if (gettimetick(2) > #COOLDOWN_REWARD) {
		#COOLDOWN_REWARD += (gettimetick(2) + 3); // 3 seconds.
		getitem 512, 1;
		set Pick,0;
					}
		}

	mes "Need to wait "+(#COOLDOWN_REWARD - gettimetick(2))+" seconds.";
	close;
	}

 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1536
  • Reputation:   237
  • Joined:  08/03/12
  • Last Seen:  

The function you need is almost the same with default healer in rathena.

https://github.com/rathena/rathena/blob/master/npc/custom/healer.txt

.@Delay part.

 

    .@Delay = 0;    // Heal delay, in seconds

    if (@HD > gettimetick(2))
        end;

 

    if (.@Delay)
        @HD = gettimetick(2) + .@Delay;
    end;

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  255
  • Topics Per Day:  0.06
  • Content Count:  706
  • Reputation:   16
  • Joined:  01/07/12
  • Last Seen:  

36 minutes ago, Chaos92 said:

The function you need is almost the same with default healer in rathena.

https://github.com/rathena/rathena/blob/master/npc/custom/healer.txt

.@Delay part.

 

    .@Delay = 0;    // Heal delay, in seconds

    if (@HD > gettimetick(2))
        end;

 

    if (.@Delay)
        @HD = gettimetick(2) + .@Delay;
    end;

yes but then when add VIP feature, only vip can heal, normal player will stuck unable to move..

script :

Spoiler

//===== rAthena Script =======================================
//= Healer
//===== By: ==================================================
//= Euphy
//===== Current Version: =====================================
//= 1.1
//===== Compatible With: =====================================
//= rAthena Project
//===== Description: =========================================
//= Basic healer script.
//===== Additional Comments: =================================
//= 1.0 Initial script.
//= 1.1 Aligned coordinates with @go.
//============================================================

-	script	Healer	-1,{

	.@Price = 1000;	// Zeny required for heal
	.@Buffs = 0;	// Also buff players? (1: yes / 0: no)
	.@Delay = 10;	// Heal delay, in seconds

	if (@HD > gettimetick(2))
		end;
	if (.@Price) {
		message strcharinfo(0), "Healing costs " + callfunc("F_InsertComma",.@Price) + " Zeny.";
		if (Zeny < .@Price)
			end;
		if (select("^0055FFHeal^000000:^777777Cancel^000000") == 2)
			end;
		Zeny -= .@Price;
	}
	specialeffect2 EF_HEAL2;
	percentheal 100,100;
	if (.@Buffs) {
		specialeffect2 EF_INCAGILITY;
		sc_start SC_INCREASEAGI,240000,10;
		specialeffect2 EF_BLESSING;
		sc_start SC_BLESSING,240000,10;
	}
	if ( countitem(.VIP_item) || rentalcountitem(.VIP_item) ) {
		specialeffect2 EF_ANGELUS; sc_start SC_ANGELUS,600000,10;
		specialeffect2 EF_SUFFRAGIUM; sc_start SC_SUFFRAGIUM,600000,3;
		specialeffect2 EF_IMPOSITIO; sc_start SC_IMPOSITIO,600000,5;
		specialeffect2 EF_GLORIA; sc_start SC_GLORIA,600000,5;
		specialeffect2 EF_MAGNIFICAT; sc_start SC_MAGNIFICAT,600000,5;
		specialeffect2 EF_CHEMICALPROTECTIOn; sc_start SC_CP_WEAPON,600000,5;
		sc_start SC_CP_ARMOR,600000,5;
		sc_start SC_CP_SHIELD,600000,5;
		sc_start SC_CP_HELM,600000,5;
		specialeffect2 EF_ASSUMPTIO; sc_start SC_ASSUMPTIO,600000,5;
		sc_start SC_ADRENALINE2,600000,1;
		specialeffect2 EF_MAXPOWER; sc_start SC_MAXIMIZEPOWER,600000,5;
		specialeffect2 EF_PERFECTION; sc_start SC_WEAPONPERFECTION,600000,5;
		specialeffect2 EF_ENDURE; sc_start SC_ENDURE,600000,10;
		sc_start SC_KAUPE,600000,3;
		sc_start SC_KAITE,600000,7;
		sc_start SC_STRFOOD,600000,5;
		sc_start SC_AGIFOOD,600000,5;
		sc_start SC_VITFOOD,600000,5;
		sc_start SC_INTFOOD,600000,5;
		sc_start SC_DEXFOOD,600000,5;
		sc_start SC_LUKFOOD,600000,5;

		switch ( CLASS ) {
			case 18:
			case 4019:
			case 4071:
			case 4078:
				skilleffect "SL_ALCHEMIST",0;
				sc_start4 SC_SPIRIT,9999999,5,455,0,0;
				break;
			case 15:
			case 4016:
			case 4070:
			case 4077:
				skilleffect "SL_MONK",0;
				sc_start4 SC_SPIRIT,9999999,5,447,0,0;
				break;
			case 4047:
				skilleffect "SL_STAR",0;
				sc_start4 SC_SPIRIT,9999999,5,448,0,0;
				break;
			case 16:
			case 4017:
			case 4067:
			case 4074:
				skilleffect "SL_SAGE",0;
				sc_start4 SC_SPIRIT,9999999,5,449,0,0;
				break;
			case 14:
			case 4015:
			case 4066:
			case 4073:
				skilleffect "SL_CRUSADER",0;
				sc_start4 SC_SPIRIT,9999999,5,450,0,0;
				break;
			case 23:
			case 4190:
				skilleffect "SL_SUPERNOVICE",0;
				sc_start4 SC_SPIRIT,9999999,5,451,0,0;
				break;
			case 7:
			case 4008:
			case 4054:
			case 4060:
				skilleffect "SL_KNIGHT",0;
				sc_start4 SC_SPIRIT,9999999,5,452,0,0; 
				break;
			case 9:
			case 4010:
			case 4055:
			case 4061:
				skilleffect "SL_WIZARD",0;
				sc_start4 SC_SPIRIT,9999999,5,453,0,0;
				break;
			case 8:
			case 4009:
			case 4057:
			case 4063:
				skilleffect "SL_PRIEST",0;
				sc_start4 SC_SPIRIT,9999999,5,454,0,0;
				break;
			case 19:
			case 20:
			case 4020:
			case 4021:
			case 4068:
			case 4069:
			case 4075:
			case 4076:
				skilleffect "SL_BARDDANCER",0;
				sc_start4 SC_SPIRIT,9999999,5,455,0,0;
				break;
			case 17:
			case 4018:
			case 4072:
			case 4079:
				skilleffect "SL_ROGUE",0;
				sc_start4 SC_SPIRIT,9999999,5,456,0,0;
				break;
			case 12:
			case 4013:
			case 4059:
			case 4065:
				skilleffect "SL_ASSASIN",0;
				sc_start4 SC_SPIRIT,9999999,5,457,0,0;
				break;
			case 10:
			case 4011:
				skilleffect "SL_BLACKSMITH",0;
				sc_start4 SC_SPIRIT,9999999,5,458,0,0;
				break;
			case 11:
			case 4012:
			case 4056:
			case 4062:
				skilleffect "SL_HUNTER",0;
				sc_start4 SC_SPIRIT,9999999,5,460,0,0;
				break;
			case 4049:
				skilleffect "SL_SOULLINKER",0;
				sc_start4 SC_SPIRIT,9999999,5,461,0,0;
				break;
			default:
				break;
		}
	
	OnInit:
	set .@Delay,10;
	.VIP_item = 992; //itemId
	end;
	
	
	if (.@Delay)
		@HD = gettimetick(2) + .@Delay;
	end;
	}
}


// Duplicates
//============================================================
alberta,25,240,6	duplicate(Healer)	Healer#alb	909
aldebaran,135,118,6	duplicate(Healer)	Healer#alde	909
amatsu,200,79,4	duplicate(Healer)	Healer#ama	909
ayothaya,207,169,6	duplicate(Healer)	Healer#ayo	909
comodo,184,158,6	duplicate(Healer)	Healer#com	909
einbech,57,36,6	duplicate(Healer)	Healer#einbe	909
einbroch,57,202,6	duplicate(Healer)	Healer#einbr	909
geffen,115,72,6	duplicate(Healer)	Healer#gef	909
gonryun,156,122,6	duplicate(Healer)	Healer#gon	909
hugel,89,150,6	duplicate(Healer)	Healer#hug	909
izlude,121,150,6	duplicate(Healer)	Healer#izl	909	//Pre-RE: (125,118)
jawaii,250,139,4	duplicate(Healer)	Healer#jaw	909
lighthalzen,152,100,6	duplicate(Healer)	Healer#lhz	909
louyang,226,103,4	duplicate(Healer)	Healer#lou	909
manuk,272,144,6	duplicate(Healer)	Healer#man	909
mid_camp,203,289,6	duplicate(Healer)	Healer#mid	909
moc_ruins,72,164,4	duplicate(Healer)	Healer#moc	909
morocc,153,97,6	duplicate(Healer)	Healer#mor	909
moscovia,220,191,4	duplicate(Healer)	Healer#mos	909
niflheim,212,182,5	duplicate(Healer)	Healer#nif	909
payon,179,106,4	duplicate(Healer)	Healer#pay	909
prontera,162,193,4	duplicate(Healer)	Healer#prt	909
rachel,125,116,6	duplicate(Healer)	Healer#rac	909
splendide,201,153,4	duplicate(Healer)	Healer#spl	909
thor_camp,249,74,4	duplicate(Healer)	Healer#thor	909
umbala,105,148,3	duplicate(Healer)	Healer#umb	909
veins,217,121,4	duplicate(Healer)	Healer#ve	909
xmas,143,136,4	duplicate(Healer)	Healer#xmas	909
yuno,164,45,4	duplicate(Healer)	Healer#yuno	909
veil,116,117,4	duplicate(Healer)	Healer#veil	909

// Duplicates (Renewal)
//============================================================
brasilis,194,221,6	duplicate(Healer)	Healer#bra	909
dewata,195,187,4	duplicate(Healer)	Healer#dew	909
dicastes01,201,194,4	duplicate(Healer)	Healer#dic	909
ecl_in01,45,60,4	duplicate(Healer)	Healer#ecl	909
malangdo,132,114,6	duplicate(Healer)	Healer#mal	909
malaya,227,204,6	duplicate(Healer)	Healer#ma	909
mora,55,152,4,6	duplicate(Healer)	Healer#mora	909

 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1536
  • Reputation:   237
  • Joined:  08/03/12
  • Last Seen:  

because of your script. 

if ( countitem(.VIP_item) || rentalcountitem(.VIP_item) ) {

till the closing }

That is VIP, what if its not VIP ? what it should do ? doesnt coded yet there.

or, maybe insert your VIP statement in .Buff. dont separate it.

 

	if (.@Buffs) {
		specialeffect2 EF_INCAGILITY;
		sc_start SC_INCREASEAGI,240000,10;
		specialeffect2 EF_BLESSING;
		sc_start SC_BLESSING,240000,10;

        if ( countitem(.VIP_item) || rentalcountitem(.VIP_item) ) {
	} }

 

Edited by Chaos92
additional info
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...