Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package server.game.players.curses;
- /**
- *
- * @author JasonRTM
- *
- */
- public class Curse {
- /**
- * Enum which holds the data for HeadIcons
- */
- public enum HeadIcons {
- /**Reqlevel, HeadIcon, Config Id*/
- WRATH(89),
- SOULSPLIT(92);
- /**
- * A Constructor for HeadIcons
- */
- private HeadIcons(final int Reqlevel) {
- this.Reqlevel = Reqlevel;
- }
- private int Reqlevel;
- /**
- * Getter for Reqlevel
- * @return
- */
- public int getReqlevel() {
- return Reqlevel;
- }
- }
- /**
- * Enum which holds the data for deflects
- */
- public enum Deflects {
- /**Animation, GFX, reqlevel, HeadIcon, config id*/
- DEFLECT_SUMMONING(12573, 2227, 62 /*Config id*/),
- DEFLECT_MAGIC(12573, 2228, 65 /*Config id*/),
- DEFLECT_MISSILES(12573, 2229, 68 /*Config id*/),
- DEFLECT_MELEE(12573, 2230, 71 /*Config id*/);
- /**
- * A constructor for Deflects
- */
- private Deflects(final int Animation, final int GFX, final int Reqlevel) {
- this.Animation = Animation;
- this.GFX = GFX;
- this.Reqlevel = Reqlevel;
- }
- private int Animation, GFX, Reqlevel;
- /**
- * Getter for the Animation
- * @return
- */
- public int getAnimation() {
- return Animation;
- }
- /**
- * Getter for the GFX
- * @return
- */
- public int getGFX() {
- return GFX;
- }
- /**
- * Getter for the Reqlevel
- * @return
- */
- public int getReqlevel() {
- return Reqlevel;
- }
- /* public void handle(int buttonId) {
- for (Deflects deflect : Deflects.values()) {
- if (buttonId == deflect.DEFLECT_MAGIC) {
- c.getPA().startTeleport(final Client c, teleport.getAbsX(), teleport.getAbsY(), teleport.getHeight(), teleport.getType())
- c.sendMessage("You teleport to "+teleport.getName()+".");
- }
- }
- }*/
- }
- /**
- * Enum which holds the data for activating the curses
- */
- public enum onCurseActivation {
- /**Animation,GFX,reqlevel,config id*/
- PROTECT_ITEM(12567, 2213, 50 /*Config needed*/),
- BERSERKER(12589, 2266, 59 /*Config Needed*/),
- TURMOIL(12565, 2226, 95 /*Config Needed*/);
- /**
- * The Constructor
- */
- private onCurseActivation(final int Animation, final int GFX, final int Reqlevel) {
- this.Animation = Animation;
- this.GFX = GFX;
- this.Reqlevel = Reqlevel;
- }
- private int Animation, GFX, Reqlevel;
- /**
- * Getter for the animation
- * @return
- */
- public int getAnimation() {
- return Animation;
- }
- /**
- * Getter for the GFXs
- * @return
- */
- public int getGFX() {
- return GFX;
- }
- /**
- * Getter for the Reqlevel
- * @return
- */
- public int getReqlevel() {
- return Reqlevel;
- }
- }
- /**
- * Enum which holds the data for the leeches
- */
- public enum Leeches {
- /**Animation, impact GFX, impact GFX 2, projectile, reqlevel, Config id*/
- LEECH_ATTACK(12575, 2232, 2233, 2231, 74 /*Config needed*/),
- LEECH_RANGED(12575, 2238, 2237, 2236, 76 /*Config needed*/),
- LEECH_MAGIC(12575, 2242, 2241, 2240, 78 /*Config needed*/),
- LEECH_DEFENCE(12575, 2246, 2245, 2244, 80 /*Config needed*/),
- LEECH_STRENGTH(12575, 2250, 2249, 2248, 82 /*Config needed*/),
- LEECH_ENERGY(12575, 2254, 2253, 2252, 84 /*Config needed*/),
- LEECH_SPECIAL_ATTACK(12575, 2258, 2257, 2256, 86 /*Config needed*/);
- /**
- * The Constructor
- */
- private Leeches(final int Animation, final int GFX1, final int GFX2, final int Projectile, final int Reqlevel) {
- this.Animation = Animation;
- this.GFX1 = GFX1;
- this.Projectile = Projectile;
- this.Reqlevel = Reqlevel;
- }
- private int Animation, GFX1, GFX2, Projectile, Reqlevel;
- /**
- * Getter for Animation
- * @return
- */
- public int getAnimation() {
- return Animation;
- }
- /**
- * Getter for GFX1
- * @return
- */
- public int getGFX1() {
- return GFX1;
- }
- /**
- * Getter for GFX2
- * @return
- */
- public int getGFX2() {
- return GFX2;
- }
- /**
- * Getter for Projectile
- * @return
- */
- public int getProjectile() {
- return Projectile;
- }
- /**
- * Getter for Reqlevel
- * @return
- */
- public int getReqlevel() {
- return Reqlevel;
- }
- }
- /**
- * Enum which holds data for the saps
- */
- public enum Saps {
- /**Animation, Shoot, projectile, impact, reqlevel, Config id*/
- SAP_WARRIOR(12569, 2214, 2215, 2216, 50 /*Config id*/),
- SAP_RANGER(12569, 2217, 2218, 2219, 52 /*Config id*/),
- SAP_MAGE(12569, 2220, 2221, 2222, 54),
- SAP_SPIRIT(12569, 2223, 2224, 2225, 56 /*Config id*/);
- /**
- * A constructor for the enum
- */
- private Saps(final int Animation, final int Shoot, final int Projectile, final int Impact, final int Reqlevel) {
- this.Animation = Animation;
- this.Shoot = Shoot;
- this.Projectile = Projectile;
- this.Impact = Impact;
- this.Reqlevel = Reqlevel;
- }
- private int Animation, Shoot, Projectile, Impact, Reqlevel;
- /**
- * Getter for the animation
- * @return
- */
- public int getAnimation() {
- return Animation;
- }
- /**
- * Getter for the Shot GFX
- * @return
- */
- public int getShoot() {
- return Shoot;
- }
- /**
- * Getter for the Projectile GFX
- * @return
- */
- public int getProjectile() {
- return Projectile;
- }
- /**
- * Getter for the impact GFX
- * @return
- */
- public int getImpact() {
- return Impact;
- }
- /**
- * Getter for the Reqlevel
- * @return
- */
- public int getReqlevel() {
- return Reqlevel;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement