Jump to content

How to scan for all charges?


Recommended Posts

Posted
if(!api.getInventory().contains("Fire Tiara") && api.getEquipment().isWearingItem(EquipmentSlot.RING, "Ring of dueling(8)")) {
	    	// Teleport to bank and withdraw + equipt

This is my code.

I was wondering how I could make it so if the player is wearing ANY charge of ring (1) or (5) for example this statement will still return true?

 

Thanks

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...