Code style changes.
This commit is contained in:
@@ -806,7 +806,7 @@ public final class Stage1 extends Quest
|
||||
if (!isSummon && (player != null))
|
||||
{
|
||||
final InstanceWorld tmpworld = InstanceManager.getInstance().getWorld(player.getInstanceId());
|
||||
if ((tmpworld instanceof SOD1World) && (((SOD1World) tmpworld).getStatus() == 7) && spawnState(((SOD1World) tmpworld)))
|
||||
if ((tmpworld instanceof SOD1World) && (((SOD1World) tmpworld).getStatus() == 7) && spawnState((SOD1World) tmpworld))
|
||||
{
|
||||
for (int objId : ((SOD1World) tmpworld).getAllowed())
|
||||
{
|
||||
@@ -997,7 +997,7 @@ public final class Stage1 extends Quest
|
||||
if (npcId == ALENOS)
|
||||
{
|
||||
final InstanceWorld world = InstanceManager.getInstance().getPlayerWorld(player);
|
||||
if ((GraciaSeedsManager.getInstance().getSoDState() == 1) || ((world != null) && (world instanceof SOD1World)))
|
||||
if ((GraciaSeedsManager.getInstance().getSoDState() == 1) || (world instanceof SOD1World))
|
||||
{
|
||||
enterInstance(player, "SeedOfDestructionStage1.xml", ENTER_TELEPORT_1);
|
||||
}
|
||||
|
@@ -182,7 +182,6 @@ public final class HallOfSuffering extends AbstractNpcAI
|
||||
private static final int TEMPLATE_ID = 115;
|
||||
private static final int MIN_LEVEL = 75;
|
||||
private static final int MAX_LEVEL = 82;
|
||||
private static final boolean debug = false;
|
||||
|
||||
public HallOfSuffering()
|
||||
{
|
||||
@@ -198,11 +197,6 @@ public final class HallOfSuffering extends AbstractNpcAI
|
||||
|
||||
private static boolean checkConditions(L2PcInstance player)
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
final L2Party party = player.getParty();
|
||||
if (party == null)
|
||||
{
|
||||
@@ -514,7 +508,7 @@ public final class HallOfSuffering extends AbstractNpcAI
|
||||
else if (event.equalsIgnoreCase("ressurectTwin"))
|
||||
{
|
||||
final Skill skill = SkillData.getInstance().getSkill(5824, 1);
|
||||
final L2Npc aliveTwin = (world.klanikus == npc ? world.klodekus : world.klanikus);
|
||||
final L2Npc aliveTwin = world.klanikus == npc ? world.klodekus : world.klanikus;
|
||||
npc.doRevive();
|
||||
npc.doCast(skill);
|
||||
npc.setCurrentHp(aliveTwin.getCurrentHp());
|
||||
|
Reference in New Issue
Block a user