Jump to content

Jad Attack Style Animation IDs


Swizzbeat

Recommended Posts

Because people keep annoying me about it (copy/pasted from my OSBot 1 script so obviously modify to your liking):

/**
 * Created with IntelliJ IDEA
 * User: Anthony
 * Date: 2/24/14
 */

public enum JadAttackStyle {

	MAGE(2656, Prayer.PROTECT_FROM_MAGIC, Color.BLUE),
	MELEE(2655, Prayer.PROTECT_FROM_MELEE, Color.RED),
	RANGE(2652, Prayer.PROTECT_FROM_MISSILES, Color.GREEN);

	private int animationId;
	private Prayer prayer;
	private Color textColor;

	private JadAttackStyle(int animationId, Prayer prayer, Color textColor) {
		this.animationId = animationId;
		this.prayer = prayer;
		this.textColor = textColor;
	}

	public int getAnimationId() {
		return animationId;
	}

	public Prayer getPrayer() {
		return prayer;
	}

	public Color getTextColor() {
		return textColor;
	}

}
  • Like 2
Link to comment
Share on other sites

  • 2 weeks later...
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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