Jump to content
  • 0

R> VIP item healer


Pink Guy

Question


  • Group:  Members
  • Topic Count:  131
  • Topics Per Day:  0.03
  • Content Count:  371
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

Anyone can help me modify this script? I want it to work for normal players and people with VIP item. For example, if the player doesn't have the vip item, they can still get healed and get agi and blessing. But if they have the vip item, they get the full buffs.

Thank you to whoever can help!

Link to comment
Share on other sites

14 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  171
  • Reputation:   68
  • Joined:  10/25/20
  • Last Seen:  

8 hours ago, Sergardo said:

hi how about rental item? not detecting  

prontera,100,200,3	script	VIPBuffer	78,{

	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;
	
OnInit:
	.VIP_item = 3000; //itemId
	end;
}

 

Link to comment
Share on other sites

  • 2

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   57
  • Joined:  11/24/16
  • Last Seen:  

51 minutes ago, Pink Guy said:

Yep. Exactly what you said.

here the fixed one

prontera,100,200,3	script	VIPBuffer	78,{

	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 ) ) {
		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;
	
OnInit:
	.VIP_item = 3000; //itemId
	end;
}

 

  • Upvote 2
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   57
  • Joined:  11/24/16
  • Last Seen:  

here you go

 

prontera,100,200,3	script	VIPBuffer	78,{

	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 ( vip_status ( VIP_STATUS_ACTIVE ) ) {
		if ( countitem ( .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;
	
OnInit:
	.VIP_item = 3000; //itemId
	end;
}

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  131
  • Topics Per Day:  0.03
  • Content Count:  371
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

Thank you! I'll test it later and let you know if it's working as intended.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   57
  • Joined:  11/24/16
  • Last Seen:  

12 minutes ago, Pink Guy said:

Thank you! I'll test it later and let you know if it's working as intended.

okay, if it working as your want. just tick it as answer and upvote post:)

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  131
  • Topics Per Day:  0.03
  • Content Count:  371
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

23 hours ago, Hurtsky said:

okay, if it working as your want. just tick it as answer and upvote post:)

Yo man, I tried it and changed the vip item to TCG. The normal healer functionality works but the VIP heal doesn't. Can you please help me?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   57
  • Joined:  11/24/16
  • Last Seen:  

23 minutes ago, Pink Guy said:

Yo man, I tried it and changed the vip item to TCG. The normal healer functionality works but the VIP heal doesn't. Can you please help me?

did you enable VIP in your emulator?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  131
  • Topics Per Day:  0.03
  • Content Count:  371
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

Just now, Hurtsky said:

did you enable VIP in your emulator?

Oh, how do I do it? Sorry didn't know I had to do it.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   57
  • Joined:  11/24/16
  • Last Seen:  

i see, look like you did not enable VIP in emulator, maybe i misunderstood your request, so what you want if the person have the item so they can get full buff?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  131
  • Topics Per Day:  0.03
  • Content Count:  371
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

Yep. Exactly what you said.

 

Works perfectly! Thank you!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.02
  • Content Count:  148
  • Reputation:   0
  • Joined:  03/06/15
  • Last Seen:  

On 1/29/2018 at 7:46 PM, Hurtsky said:

here the fixed one

prontera,100,200,3	script	VIPBuffer	78,{

	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 ) ) {
		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;
	
OnInit:
	.VIP_item = 3000; //itemId
	end;
}

 

hi how about rental item? not detecting  

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.02
  • Content Count:  43
  • Reputation:   0
  • Joined:  04/06/22
  • Last Seen:  

On 1/28/2018 at 6:01 PM, Hurtsky said:

here you go

 

prontera,100,200,3	script	VIPBuffer	78,{

	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 ( vip_status ( VIP_STATUS_ACTIVE ) ) {
		if ( countitem ( .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;
	
OnInit:
	.VIP_item = 3000; //itemId
	end;
}

 

why rental items are not detected? i made a token 1 rental 1 permanent seems only read the permanent not the items with the duration how to solve this?

 

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

On 11/17/2022 at 4:44 PM, abdol said:

why rental items are not detected?

*rentalcountitem(<item id>{,<accountID>})
*rentalcountitem("<item name>"{,<accountID>})

This function will return the number of rental items for the specified item ID that the
invoking character has in the inventory.

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  12/17/22
  • Last Seen:  

why rental items are not detected?

*rentalcountitem(<item id>{,<accountID>})
*rentalcountitem("<item name>"{,<accountID>})

This function will return the number of rental items for the specified item ID that the
invoking character has in the inventory.

where i can find this one? please help?

 

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