Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * This file is part of aion-lightning <aion-lightning.com>.
- *
- * aion-lightning is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * aion-lightning is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with aion-lightning. If not, see <http://www.gnu.org/licenses/>.
- */
- package com.aionemu.gameserver.services.custom.events_rewards;
- import com.aionemu.gameserver.services.custom.EventsRewardService.EventType;
- /**
- * @author ViAl
- *
- */
- public enum EventsFinalRewardEnum {
- //FFA
- FFA1(EventType.FFA, 1, 0, 1000, 0, new int[]{188100237, 10, 188054664, 1, 162000178, 10}),
- FFA2(EventType.FFA, 2, 0, 950, 0, new int[]{188100237, 9, 188054664, 1, 162000178, 10}),
- FFA3(EventType.FFA, 3, 0, 900, 0, new int[]{188100237, 9, 188054664, 1, 162000178, 10}),
- FFA4(EventType.FFA, 4, 0, 850, 0, new int[]{188100237, 8, 188054598, 1, 162000178, 5}),
- FFA5(EventType.FFA, 5, 0, 800, 0, new int[]{188100237, 8, 188054598, 1, 162000178, 5}),
- FFA6(EventType.FFA, 6, 0, 750, 0, new int[]{188100237, 8, 188054598, 1, 162000178, 5}),
- FFA7(EventType.FFA, 7, 0, 700, 0, new int[]{188100237, 8, 188054598, 1, 162000178, 5}),
- FFA8(EventType.FFA, 8, 0, 650, 0, new int[]{188100237, 7, 188054598, 1, 162000178, 5}),
- FFA9(EventType.FFA, 9, 0, 600, 0, new int[]{188100237, 7, 188054598, 1, 162000178, 5}),
- FFA10(EventType.FFA, 10, 0, 550, 0, new int[]{188100237, 5, 188054598, 1, 162000178, 5}),
- FFA11(EventType.FFA, 11, 0, 500, 0, new int[]{188100237, 3}),
- FFA12(EventType.FFA, 12, 0, 450, 0, new int[]{188100237, 3}),
- FFA13(EventType.FFA, 13, 0, 400, 0, new int[]{188100237, 3}),
- FFA14(EventType.FFA, 14, 0, 350, 0, new int[]{188100237, 3}),
- FFA15(EventType.FFA, 15, 0, 300, 0, new int[]{188100237, 3}),
- FFA16(EventType.FFA, 16, 0, 250, 0, new int[]{188100237, 3}),
- FFA17(EventType.FFA, 17, 0, 200, 0, new int[]{188100237, 3}),
- FFA18(EventType.FFA, 18, 0, 150, 0, new int[]{188100237, 3}),
- FFA19(EventType.FFA, 19, 0, 145, 0, new int[]{188100237, 3}),
- FFA20(EventType.FFA, 20, 0, 140, 0, new int[]{188100237, 3}),
- FFA21(EventType.FFA, 21, 0, 135, 0, null),
- FFA22(EventType.FFA, 22, 0, 130, 0, null),
- FFA23(EventType.FFA, 23, 0, 125, 0, null),
- FFA24(EventType.FFA, 24, 0, 120, 0, null),
- FFA25(EventType.FFA, 25, 0, 115, 0, null),
- FFA26(EventType.FFA, 26, 0, 110, 0, null),
- FFA27(EventType.FFA, 27, 0, 105, 0, null),
- FFA28(EventType.FFA, 28, 0, 100, 0, null),
- FFA29(EventType.FFA, 29, 0, 95, 0, null),
- FFA30(EventType.FFA, 30, 0, 90, 0, null),
- //RVR
- RVR1(EventType.RVR, 1, 0, 1000, 0, new int[]{188100237, 5, 188054664, 1}),
- RVR2(EventType.RVR, 2, 0, 950, 0, new int[]{188100237, 4, 188054664, 1}),
- RVR3(EventType.RVR, 3, 0, 900, 0, new int[]{188100237, 4, 188054664, 1}),
- RVR4(EventType.RVR, 4, 0, 850, 0, new int[]{188100237, 3, 188054664, 1}),
- RVR5(EventType.RVR, 5, 0, 800, 0, new int[]{188100237, 3, 188054664, 1}),
- RVR6(EventType.RVR, 6, 0, 750, 0, new int[]{188100237, 3, 188054598, 1}),
- RVR7(EventType.RVR, 7, 0, 700, 0, new int[]{188100237, 3, 188054598, 1}),
- RVR8(EventType.RVR, 8, 0, 650, 0, new int[]{188100237, 2, 188054598, 1}),
- RVR9(EventType.RVR, 9, 0, 600, 0, new int[]{188100237, 2, 188054598, 1}),
- RVR10(EventType.RVR, 10, 0, 550, 0, new int[]{188100237, 1, 188054598, 1}),
- RVR11(EventType.RVR, 11, 0, 500, 0, new int[]{188100237, 1, 188054598, 1}),
- RVR12(EventType.RVR, 12, 0, 450, 0, new int[]{188100237, 1, 188054598, 1}),
- RVR13(EventType.RVR, 13, 0, 400, 0, new int[]{188100237, 1, 188054598, 1}),
- RVR14(EventType.RVR, 14, 0, 350, 0, new int[]{188100237, 1, 188054598, 1}),
- RVR15(EventType.RVR, 15, 0, 300, 0, new int[]{188100237, 1, 188054598, 1}),
- RVR16(EventType.RVR, 16, 0, 250, 0, new int[]{188100237, 1, 188054598, 1}),
- RVR17(EventType.RVR, 17, 0, 200, 0, new int[]{188100237, 1, 188054598, 1}),
- RVR18(EventType.RVR, 18, 0, 150, 0, new int[]{188100237, 1, 188054598, 1}),
- RVR19(EventType.RVR, 19, 0, 145, 0, new int[]{188100237, 1, 188054598, 1}),
- RVR20(EventType.RVR, 20, 0, 140, 0, new int[]{188100237, 1, 188054598, 1}),
- RVR21(EventType.RVR, 21, 0, 135, 0, null),
- RVR22(EventType.RVR, 22, 0, 130, 0, null),
- RVR23(EventType.RVR, 23, 0, 125, 0, null),
- RVR24(EventType.RVR, 24, 0, 120, 0, null),
- RVR25(EventType.RVR, 25, 0, 115, 0, null),
- RVR26(EventType.RVR, 26, 0, 110, 0, null),
- RVR27(EventType.RVR, 27, 0, 105, 0, null),
- RVR28(EventType.RVR, 28, 0, 100, 0, null),
- RVR29(EventType.RVR, 29, 0, 95, 0, null),
- RVR30(EventType.RVR, 30, 0, 90, 0, null),
- //MIX 3x3
- MIX_Fight_3x3_1(EventType.MIX_Fight_3x3, 1, 0, 2000, 0, new int[]{188100237, 10, 188054664, 1}),
- MIX_Fight_3x3_2(EventType.MIX_Fight_3x3, 2, 0, 1900, 0, new int[]{188100237, 10, 188054664, 1}),
- MIX_Fight_3x3_3(EventType.MIX_Fight_3x3, 3, 0, 1800, 0, new int[]{188100237, 10, 188054664, 1}),
- MIX_Fight_3x3_4(EventType.MIX_Fight_3x3, 4, 0, 1700, 0, new int[]{188100237, 9, 188054598, 1}),
- MIX_Fight_3x3_5(EventType.MIX_Fight_3x3, 5, 0, 1600, 0, new int[]{188100237, 9, 188054598, 1}),
- MIX_Fight_3x3_6(EventType.MIX_Fight_3x3, 6, 0, 1500, 0, new int[]{188100237, 9, 188054598, 1}),
- MIX_Fight_3x3_7(EventType.MIX_Fight_3x3, 7, 0, 1400, 0, new int[]{188100237, 8, 188054598, 1}),
- MIX_Fight_3x3_8(EventType.MIX_Fight_3x3, 8, 0, 1300, 0, new int[]{188100237, 8, 188054598, 1}),
- MIX_Fight_3x3_9(EventType.MIX_Fight_3x3, 9, 0, 1200, 0, new int[]{188100237, 8, 188054598, 1}),
- MIX_Fight_3x3_10(EventType.MIX_Fight_3x3, 10, 0, 1100, 0, new int[]{188100237, 5, 188054598, 1}),
- MIX_Fight_3x3_11(EventType.MIX_Fight_3x3, 11, 0, 1000, 0, new int[]{188100237, 5}),
- MIX_Fight_3x3_12(EventType.MIX_Fight_3x3, 12, 0, 900, 0, new int[]{188100237, 3}),
- MIX_Fight_3x3_13(EventType.MIX_Fight_3x3, 13, 0, 800, 0, new int[]{188100237, 3}),
- MIX_Fight_3x3_14(EventType.MIX_Fight_3x3, 14, 0, 700, 0, new int[]{188100237, 3}),
- MIX_Fight_3x3_15(EventType.MIX_Fight_3x3, 15, 0, 600, 0, new int[]{188100237, 3}),
- MIX_Fight_3x3_16(EventType.MIX_Fight_3x3, 16, 0, 500, 0, new int[]{188100237, 3}),
- MIX_Fight_3x3_17(EventType.MIX_Fight_3x3, 17, 0, 400, 0, new int[]{188100237, 3}),
- MIX_Fight_3x3_18(EventType.MIX_Fight_3x3, 18, 0, 300, 0, new int[]{188100237, 3}),
- MIX_Fight_3x3_19(EventType.MIX_Fight_3x3, 19, 0, 200, 0, new int[]{188100237, 3}),
- MIX_Fight_3x3_20(EventType.MIX_Fight_3x3, 20, 0, 100, 0, new int[]{188100237, 3}),
- MIX_Fight_3x3_21(EventType.MIX_Fight_3x3, 21, 0, 95, 0, null),
- MIX_Fight_3x3_22(EventType.MIX_Fight_3x3, 22, 0, 90, 0, null),
- MIX_Fight_3x3_23(EventType.MIX_Fight_3x3, 23, 0, 90, 0, null),
- MIX_Fight_3x3_24(EventType.MIX_Fight_3x3, 24, 0, 90, 0, null),
- MIX_Fight_3x3_25(EventType.MIX_Fight_3x3, 25, 0, 90, 0, null),
- MIX_Fight_3x3_26(EventType.MIX_Fight_3x3, 26, 0, 90, 0, null),
- MIX_Fight_3x3_27(EventType.MIX_Fight_3x3, 27, 0, 90, 0, null),
- MIX_Fight_3x3_28(EventType.MIX_Fight_3x3, 28, 0, 90, 0, null),
- MIX_Fight_3x3_29(EventType.MIX_Fight_3x3, 29, 0, 90, 0, null),
- MIX_Fight_3x3_30(EventType.MIX_Fight_3x3, 30, 0, 90, 0, null),
- //MIX 6x6
- MIX_Fight_6x6_1(EventType.MIX_Fight_6x6, 1, 0, 2000, 0, new int[]{188100237, 5, 188054664, 1}),
- MIX_Fight_6x6_2(EventType.MIX_Fight_6x6, 2, 0, 1900, 0, new int[]{188100237, 4, 188054664, 1}),
- MIX_Fight_6x6_3(EventType.MIX_Fight_6x6, 3, 0, 1800, 0, new int[]{188100237, 4, 188054664, 1}),
- MIX_Fight_6x6_4(EventType.MIX_Fight_6x6, 4, 0, 1700, 0, new int[]{188100237, 3}),
- MIX_Fight_6x6_5(EventType.MIX_Fight_6x6, 5, 0, 1600, 0, new int[]{188100237, 3}),
- MIX_Fight_6x6_6(EventType.MIX_Fight_6x6, 6, 0, 1500, 0, new int[]{188100237, 3}),
- MIX_Fight_6x6_7(EventType.MIX_Fight_6x6, 7, 0, 1400, 0, new int[]{188100237, 3}),
- MIX_Fight_6x6_8(EventType.MIX_Fight_6x6, 8, 0, 1300, 0, new int[]{188100237, 2}),
- MIX_Fight_6x6_9(EventType.MIX_Fight_6x6, 9, 0, 1200, 0, new int[]{188100237, 2}),
- MIX_Fight_6x6_10(EventType.MIX_Fight_6x6, 10, 0, 1100, 0, new int[]{188100237, 1}),
- MIX_Fight_6x6_11(EventType.MIX_Fight_6x6, 11, 0, 1000, 0, new int[]{188100237, 1}),
- MIX_Fight_6x6_12(EventType.MIX_Fight_6x6, 12, 0, 900, 0, new int[]{188100237, 1}),
- MIX_Fight_6x6_13(EventType.MIX_Fight_6x6, 13, 0, 800, 0, new int[]{188100237, 1}),
- MIX_Fight_6x6_14(EventType.MIX_Fight_6x6, 14, 0, 700, 0, new int[]{188100237, 1}),
- MIX_Fight_6x6_15(EventType.MIX_Fight_6x6, 15, 0, 600, 0, new int[]{188100237, 1}),
- MIX_Fight_6x6_16(EventType.MIX_Fight_6x6, 16, 0, 500, 0, new int[]{188100237, 1}),
- MIX_Fight_6x6_17(EventType.MIX_Fight_6x6, 17, 0, 400, 0, new int[]{188100237, 1}),
- MIX_Fight_6x6_18(EventType.MIX_Fight_6x6, 18, 0, 300, 0, new int[]{188100237, 1}),
- MIX_Fight_6x6_19(EventType.MIX_Fight_6x6, 19, 0, 200, 0, new int[]{188100237, 1}),
- MIX_Fight_6x6_20(EventType.MIX_Fight_6x6, 20, 0, 100, 0, new int[]{188100237, 1}),
- MIX_Fight_6x6_21(EventType.MIX_Fight_6x6, 21, 0, 95, 0, null),
- MIX_Fight_6x6_22(EventType.MIX_Fight_6x6, 22, 0, 90, 0, null),
- MIX_Fight_6x6_23(EventType.MIX_Fight_6x6, 23, 0, 90, 0, null),
- MIX_Fight_6x6_24(EventType.MIX_Fight_6x6, 24, 0, 90, 0, null),
- MIX_Fight_6x6_25(EventType.MIX_Fight_6x6, 25, 0, 90, 0, null),
- MIX_Fight_6x6_26(EventType.MIX_Fight_6x6, 26, 0, 90, 0, null),
- MIX_Fight_6x6_27(EventType.MIX_Fight_6x6, 27, 0, 90, 0, null),
- MIX_Fight_6x6_28(EventType.MIX_Fight_6x6, 28, 0, 90, 0, null),
- MIX_Fight_6x6_29(EventType.MIX_Fight_6x6, 29, 0, 90, 0, null),
- MIX_Fight_6x6_30(EventType.MIX_Fight_6x6, 30, 0, 90, 0, null),
- //TEAM WAR
- TEAM_WAR_1(EventType.TEAM_WAR, 1, 0, 1000, 0, new int[]{188100237, 5}),
- TEAM_WAR_2(EventType.TEAM_WAR, 2, 0, 950, 0, new int[]{188100237, 4}),
- TEAM_WAR_3(EventType.TEAM_WAR, 3, 0, 900, 0, new int[]{188100237, 4}),
- TEAM_WAR_4(EventType.TEAM_WAR, 4, 0, 850, 0, new int[]{188100237, 3}),
- TEAM_WAR_5(EventType.TEAM_WAR, 5, 0, 800, 0, new int[]{188100237, 3}),
- TEAM_WAR_6(EventType.TEAM_WAR, 6, 0, 750, 0, new int[]{188100237, 3}),
- TEAM_WAR_7(EventType.TEAM_WAR, 7, 0, 700, 0, new int[]{188100237, 3}),
- TEAM_WAR_8(EventType.TEAM_WAR, 8, 0, 650, 0, new int[]{188100237, 2}),
- TEAM_WAR_9(EventType.TEAM_WAR, 9, 0, 600, 0, new int[]{188100237, 2}),
- TEAM_WAR_10(EventType.TEAM_WAR, 10, 0, 550, 0, new int[]{188100237, 1}),
- TEAM_WAR_11(EventType.TEAM_WAR, 11, 0, 500, 0, new int[]{188100237, 1}),
- TEAM_WAR_12(EventType.TEAM_WAR, 12, 0, 450, 0, new int[]{188100237, 1}),
- TEAM_WAR_13(EventType.TEAM_WAR, 13, 0, 400, 0, new int[]{188100237, 1}),
- TEAM_WAR_14(EventType.TEAM_WAR, 14, 0, 350, 0, new int[]{188100237, 1}),
- TEAM_WAR_15(EventType.TEAM_WAR, 15, 0, 300, 0, new int[]{188100237, 1}),
- TEAM_WAR_16(EventType.TEAM_WAR, 16, 0, 250, 0, new int[]{188100237, 1}),
- TEAM_WAR_17(EventType.TEAM_WAR, 17, 0, 200, 0, new int[]{188100237, 1}),
- TEAM_WAR_18(EventType.TEAM_WAR, 18, 0, 150, 0, new int[]{188100237, 1}),
- TEAM_WAR_19(EventType.TEAM_WAR, 19, 0, 145, 0, new int[]{188100237, 1}),
- TEAM_WAR_20(EventType.TEAM_WAR, 20, 0, 140, 0, new int[]{188100237, 1}),
- TEAM_WAR_21(EventType.TEAM_WAR, 21, 0, 135, 0, null),
- TEAM_WAR_22(EventType.TEAM_WAR, 22, 0, 130, 0, null),
- TEAM_WAR_23(EventType.TEAM_WAR, 23, 0, 125, 0, null),
- TEAM_WAR_24(EventType.TEAM_WAR, 24, 0, 120, 0, null),
- TEAM_WAR_25(EventType.TEAM_WAR, 25, 0, 115, 0, null),
- TEAM_WAR_26(EventType.TEAM_WAR, 26, 0, 110, 0, null),
- TEAM_WAR_27(EventType.TEAM_WAR, 27, 0, 105, 0, null),
- TEAM_WAR_28(EventType.TEAM_WAR, 28, 0, 100, 0, null),
- TEAM_WAR_29(EventType.TEAM_WAR, 29, 0, 95, 0, null),
- TEAM_WAR_30(EventType.TEAM_WAR, 30, 0, 90, 0, null);
- private EventType eventType;
- private int place;
- private int apReward;
- private int gpReward;
- private int moneyReward;
- private int[] itemsReward;
- /**
- * @param eventType
- * @param place
- * @param apReward
- * @param gpReward
- * @param moneyReward
- * @param itemsReward
- */
- private EventsFinalRewardEnum(EventType eventType, int place, int apReward,
- int gpReward, int moneyReward, int[] itemsReward) {
- this.eventType = eventType;
- this.place = place;
- this.apReward = apReward;
- this.gpReward = gpReward;
- this.moneyReward = moneyReward;
- this.itemsReward = itemsReward;
- }
- public EventType getEventType() {
- return eventType;
- }
- public int getPlace() {
- return place;
- }
- public int getApReward() {
- return apReward;
- }
- public int getGpReward() {
- return gpReward;
- }
- public int getMoneyReward() {
- return moneyReward;
- }
- public int[] getItemsReward() {
- return itemsReward;
- }
- /**
- *
- * @param et
- * @param place
- * @return reward for specified place, or last reward with defined EventType
- */
- public static EventsFinalRewardEnum getReward(EventType et, int place) {
- EventsFinalRewardEnum result = null;
- for(EventsFinalRewardEnum reward : values()) {
- if(reward.getEventType() == et) {
- if(result == null || result.getPlace() < reward.getPlace())
- result = reward;
- if(reward.getPlace() == place)
- return reward;
- }
- }
- return result;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement