Minor code format changes.
This commit is contained in:
parent
9060a0c931
commit
829663088f
@ -85,7 +85,6 @@ public final class DragonValley extends AbstractNpcAI
|
||||
private static final int MIN_LVL = 80;
|
||||
private static final int CLASS_LVL = 3;
|
||||
private static final EnumMap<ClassId, Double> CLASS_POINTS = new EnumMap<>(ClassId.class);
|
||||
|
||||
{
|
||||
CLASS_POINTS.put(ClassId.ADVENTURER, 0.2);
|
||||
CLASS_POINTS.put(ClassId.ARCANA_LORD, 1.5);
|
||||
|
@ -53,7 +53,7 @@ import ai.npc.AbstractNpcAI;
|
||||
*/
|
||||
public final class Antharas extends AbstractNpcAI
|
||||
{
|
||||
// NPC
|
||||
// NPCs
|
||||
private static final int ANTHARAS = 29068; // Antharas
|
||||
private static final int BEHEMOTH = 29069; // Behemoth Dragon
|
||||
private static final int TERASQUE = 29190; // Tarask Dragon
|
||||
@ -61,7 +61,6 @@ public final class Antharas extends AbstractNpcAI
|
||||
private static final int HEART = 13001; // Heart of Warding
|
||||
private static final int CUBE = 31859; // Teleportation Cubic
|
||||
private static final Map<Integer, Location> INVISIBLE_NPC = new HashMap<>();
|
||||
|
||||
{
|
||||
INVISIBLE_NPC.put(29077, new Location(177229, 113298, -7735)); // antaras_clear_npc_1
|
||||
INVISIBLE_NPC.put(29078, new Location(176707, 113585, -7735)); // antaras_clear_npc_2
|
||||
@ -82,7 +81,6 @@ public final class Antharas extends AbstractNpcAI
|
||||
INVISIBLE_NPC.put(29093, new Location(178419, 113417, -7735)); // antaras_clear_npc_17
|
||||
INVISIBLE_NPC.put(29094, new Location(177855, 113282, -7735)); // antaras_clear_npc_18
|
||||
}
|
||||
|
||||
// Item
|
||||
private static final int STONE = 3865; // Portal Stone
|
||||
// Skill
|
||||
|
@ -43,7 +43,6 @@ public class LeopardDragonHachling extends AbstractNpcAI
|
||||
private static final int LEOPARD_DRAGON = 23435;
|
||||
// Locations
|
||||
private static final List<Location> TRANSFORM_LOCATIONS = new ArrayList<>();
|
||||
|
||||
{
|
||||
TRANSFORM_LOCATIONS.add(new Location(84199, 120022, -2944));
|
||||
TRANSFORM_LOCATIONS.add(new Location(92138, 113735, -3076));
|
||||
|
@ -40,7 +40,6 @@ public final class DimensionalManager extends AbstractNpcAI
|
||||
private static final int ROSE_SPIRIT = 21887;
|
||||
// Rewards
|
||||
private static final Map<String, SkillHolder> TICKET_REWARDS = new HashMap<>();
|
||||
|
||||
{
|
||||
// Using SkillHolder to store ticket and reward ids.
|
||||
// buypass - coupon(skillId) - reward(skillLvl)
|
||||
|
@ -105,9 +105,7 @@ public final class Raina extends AbstractNpcAI
|
||||
subclassSetMap.put(PlayerClass.Spellsinger, subclasseSet5);
|
||||
subclassSetMap.put(PlayerClass.Spellhowler, subclasseSet5);
|
||||
}
|
||||
|
||||
private static final Map<CategoryType, Integer> classCloak = new HashMap<>();
|
||||
|
||||
{
|
||||
classCloak.put(CategoryType.SIGEL_GROUP, 30310); // Abelius Cloak
|
||||
classCloak.put(CategoryType.TYRR_GROUP, 30311); // Sapyros Cloak Grade
|
||||
@ -118,9 +116,7 @@ public final class Raina extends AbstractNpcAI
|
||||
classCloak.put(CategoryType.WYNN_GROUP, 30316); // Leister Cloak Grade
|
||||
classCloak.put(CategoryType.AEORE_GROUP, 30317); // Laksis Cloak Grade
|
||||
}
|
||||
|
||||
private static final List<PlayerClass> dualClassList = new ArrayList<>();
|
||||
|
||||
{
|
||||
dualClassList.addAll(Arrays.asList(PlayerClass.sigelPhoenixKnight, PlayerClass.sigelHellKnight, PlayerClass.sigelEvasTemplar, PlayerClass.sigelShilenTemplar));
|
||||
dualClassList.addAll(Arrays.asList(PlayerClass.tyrrDuelist, PlayerClass.tyrrDreadnought, PlayerClass.tyrrTitan, PlayerClass.tyrrGrandKhavatari, PlayerClass.tyrrDoombringer));
|
||||
@ -131,7 +127,6 @@ public final class Raina extends AbstractNpcAI
|
||||
dualClassList.addAll(Arrays.asList(PlayerClass.wynnArcanaLord, PlayerClass.wynnElementalMaster, PlayerClass.wynnSpectralMaster));
|
||||
dualClassList.addAll(Arrays.asList(PlayerClass.aeoreCardinal, PlayerClass.aeoreEvaSaint, PlayerClass.aeoreShillienSaint));
|
||||
}
|
||||
|
||||
// @formatter:off
|
||||
private static final int[] REAWAKEN_PRICE =
|
||||
{
|
||||
|
@ -47,7 +47,6 @@ public final class Q00032_AnObviousLie extends Quest
|
||||
private static final int MIN_LVL = 45;
|
||||
// Reward
|
||||
private static final Map<String, Integer> EARS = new HashMap<>();
|
||||
|
||||
{
|
||||
EARS.put("cat", 6843); // Cat Ears
|
||||
EARS.put("raccoon", 7680); // Raccoon ears
|
||||
|
@ -36,14 +36,12 @@ public final class Q00357_WarehouseKeepersAmbition extends Quest
|
||||
private static final int JADE_CRYSTAL = 5867;
|
||||
// Monsters
|
||||
private final Map<Integer, Double> DROP_DATA = new HashMap<>();
|
||||
|
||||
{
|
||||
DROP_DATA.put(20594, 0.577); // Forest Runner
|
||||
DROP_DATA.put(20595, 0.6); // Fline Elder
|
||||
DROP_DATA.put(20596, 0.638); // Liele Elder
|
||||
DROP_DATA.put(20597, 0.062); // Valley Treant Elder
|
||||
}
|
||||
|
||||
// Misc
|
||||
private static final int MIN_LVL = 47;
|
||||
|
||||
|
@ -107,7 +107,6 @@ public final class Q00420_LittleWing extends Quest
|
||||
private static final List<Integer> EGGS = Arrays.asList(EXARION_EGG, SUZET_EGG, KALIBRAN_EGG, SHAMHAI_EGG, ZWOV_EGG);
|
||||
// Drake Drops
|
||||
private static final Map<Integer, Integer> EGG_DROPS = new HashMap<>();
|
||||
|
||||
{
|
||||
EGG_DROPS.put(DEAD_SEEKER, SHAMHAI_EGG);
|
||||
EGG_DROPS.put(MARSH_SPIDER, ZWOV_EGG);
|
||||
@ -115,7 +114,6 @@ public final class Q00420_LittleWing extends Quest
|
||||
EGG_DROPS.put(ROAD_SCAVENGER, KALIBRAN_EGG);
|
||||
EGG_DROPS.put(LETO_WARRIOR, EXARION_EGG);
|
||||
}
|
||||
|
||||
// Misc
|
||||
private static final int MIN_LVL = 35;
|
||||
|
||||
|
@ -43,13 +43,11 @@ public final class Q00603_DaimonTheWhiteEyedPart1 extends Quest
|
||||
private static final int BROKEN_CRYSTAL = 7191;
|
||||
// Monsters
|
||||
private final Map<Integer, Double> MONSTER_CHANCES = new HashMap<>();
|
||||
|
||||
{
|
||||
MONSTER_CHANCES.put(21297, 0.5); // Canyon Bandersnatch Slave
|
||||
MONSTER_CHANCES.put(21299, 0.519); // Buffalo Slave
|
||||
MONSTER_CHANCES.put(21304, 0.673); // Grendel Slave
|
||||
}
|
||||
|
||||
// Reward
|
||||
private static final int UNFINISHED_CRYSTAL = 7192;
|
||||
// Misc
|
||||
|
@ -43,14 +43,12 @@ public class Q10335_RequestToFindSakum extends Quest
|
||||
private static final int RUIN_ZOMBIE = 20026;
|
||||
private static final int RUIN_SPARTOI = 20054;
|
||||
private static final Map<Integer, Integer> MOBS_REQUIRED = new HashMap<>();
|
||||
|
||||
{
|
||||
MOBS_REQUIRED.put(SKELETON_TRACKER, 10);
|
||||
MOBS_REQUIRED.put(SKELETON_BOWMAN, 10);
|
||||
MOBS_REQUIRED.put(RUIN_ZOMBIE, 15);
|
||||
MOBS_REQUIRED.put(RUIN_SPARTOI, 15);
|
||||
}
|
||||
|
||||
// Rewards
|
||||
private static final int ADENA_REWARD = 90000;
|
||||
private static final int EXP_REWARD = 350000;
|
||||
|
@ -45,13 +45,11 @@ public class Q10337_SakumsInfluence extends Quest
|
||||
private static final int SCAVENGER_BAT = 20411;
|
||||
private static final int BAT = 27458; // for ruin bat & scavenger bat counter(client counter requires BAT id)
|
||||
private static final Map<Integer, Integer> MOBS_REQUIRED = new HashMap<>();
|
||||
|
||||
{
|
||||
MOBS_REQUIRED.put(SKELETON_WARRIOR, 10);
|
||||
MOBS_REQUIRED.put(RUIN_IMP, 20); // imp elder same counter
|
||||
MOBS_REQUIRED.put(BAT, 25); // & scavenger bat same counter
|
||||
}
|
||||
|
||||
// Rewards
|
||||
private static final int ADENA_REWARD = 1030;
|
||||
private static final int EXP_REWARD = 650000;
|
||||
|
@ -41,13 +41,11 @@ public class Q10358_DividedSakumPoslof extends Quest
|
||||
private static final int ZOMBIE_WARRIOR = 20458;
|
||||
private static final int VEELAN_BUGBEAR_WARRIOR = 20402;
|
||||
private static final Map<Integer, Integer> MOBS_REQUIRED = new HashMap<>();
|
||||
|
||||
{
|
||||
MOBS_REQUIRED.put(ZOMBIE_WARRIOR, 20);
|
||||
MOBS_REQUIRED.put(VEELAN_BUGBEAR_WARRIOR, 23);
|
||||
MOBS_REQUIRED.put(POSLOF, 0);
|
||||
}
|
||||
|
||||
// Item
|
||||
private static final int SAKUMS_SKETCH_B = 17585;
|
||||
// Rewards
|
||||
|
@ -45,12 +45,10 @@ public class Q10362_CertificationOfTheSeeker extends Quest
|
||||
private static final int CRAWLER = 22991;
|
||||
private static final int STALKER = 22992;
|
||||
private static final Map<Integer, Integer> MOBS_REQUIRED = new HashMap<>();
|
||||
|
||||
{
|
||||
MOBS_REQUIRED.put(CRAWLER, 5);
|
||||
MOBS_REQUIRED.put(STALKER, 10);
|
||||
}
|
||||
|
||||
// Rewards
|
||||
private static final int ADENA_REWARD = 43000;
|
||||
private static final int EXP_REWARD = 50000;
|
||||
|
@ -40,14 +40,12 @@ public class Q10368_RebellionOfMonsters extends Quest
|
||||
private static final int ANT_SOLDIER = 23099;
|
||||
private static final int ANT_WARRIOR_CAPTAIN = 23100;
|
||||
private static final HashMap<Integer, Integer> MOBS_REQUIRED = new HashMap<>();
|
||||
|
||||
{
|
||||
MOBS_REQUIRED.put(WEARY_JAGUAR, 10);
|
||||
MOBS_REQUIRED.put(WEARY_JAGUAR_SCOUT, 15);
|
||||
MOBS_REQUIRED.put(ANT_SOLDIER, 15);
|
||||
MOBS_REQUIRED.put(ANT_WARRIOR_CAPTAIN, 20);
|
||||
}
|
||||
|
||||
// Rewards
|
||||
private static final int ADENA_REWARD = 99000;
|
||||
private static final int EXP_REWARD = 750000;
|
||||
|
Loading…
Reference in New Issue
Block a user