This commit is contained in:
Kyleeld
2019-06-11 22:02:33 +01:00
committed by GitHub
parent f84d5b8568
commit 74957017ba

View File

@@ -6,10 +6,10 @@
* modification, are permitted provided that the following conditions are met: * modification, are permitted provided that the following conditions are met:
* *
* 1. Redistributions of source code must retain the above copyright notice, this * 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer. * list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice, * 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation * this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution. * and/or other materials provided with the distribution.
* *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
@@ -28,26 +28,26 @@ import net.runelite.api.AnimationID;
import net.runelite.api.Prayer; import net.runelite.api.Prayer;
public enum InfernoJadAttack public enum InfernoJadAttack
{ {
MAGIC(AnimationID.JALTOK_JAD_MAGE_ATTACK, Prayer.PROTECT_FROM_MAGIC), MAGIC(AnimationID.JALTOK_JAD_MAGE_ATTACK, Prayer.PROTECT_FROM_MAGIC),
RANGE(AnimationID.JALTOK_JAD_RANGE_ATTACK, Prayer.PROTECT_FROM_MISSILES); RANGE(AnimationID.JALTOK_JAD_RANGE_ATTACK, Prayer.PROTECT_FROM_MISSILES);
private final int animation; private final int animation;
private final Prayer prayer; private final Prayer prayer;
InfernoJadAttack(int animation, Prayer prayer) InfernoJadAttack(int animation, Prayer prayer)
{ {
this.animation = animation; this.animation = animation;
this.prayer = prayer; this.prayer = prayer;
} }
public int getAnimation() public int getAnimation()
{ {
return animation; return animation;
} }
public Prayer getPrayer() public Prayer getPrayer()
{ {
return prayer; return prayer;
} }
} }