Fixed console warnings.

This commit is contained in:
MobiusDevelopment
2019-12-09 13:19:29 +00:00
parent 839b29a341
commit 4be99e8e00
9 changed files with 41 additions and 137 deletions

View File

@@ -61,19 +61,6 @@ public class AreaSkillNpc extends AbstractNpcAI
13452, // Solo Dance
13453, // Solo Dance
13454, // Solo Dance
13576, // Solo Dance
13577, // Solo Dance
13541, // Solo Dance
13542, // Solo Dance
13543, // Solo Dance
13544, // Solo Dance
13545, // Solo Dance
13546, // Solo Dance
13547, // Solo Dance
13548, // Solo Dance
13549, // Solo Dance
13580, // Solo Dance
13581, // Solo Dance
};
private static final int[] DECOY = // ai_decoy
{

View File

@@ -11,15 +11,6 @@
<production id="47272" count="1" chance="80" /> <!-- Mother Tree Guardians Talisman Stage 2 -->
<production id="47257" count="5" chance="20" /> <!-- Life Crystal -->
</item>
<item>
<ingredient id="47271" count="1" /> <!-- Mother Tree Guardians Talisman Stage 1 -->
<ingredient id="47739" count="1" /> <!-- Hunter's Amulet -->
<ingredient id="35563" count="1" /> <!-- Giant's Energy -->
<ingredient id="47257" count="10" /> <!-- Life Crystal -->
<production id="47272" count="1" /> <!-- Mother Tree Guardians Talisman Stage 2 -->
<production id="47272" count="1" chance="80" /> <!-- Mother Tree Guardians Talisman Stage 2 -->
<production id="47271" count="1" chance="20" /> <!-- Mother Tree Guardians Talisman Stage 1 -->
</item>
<item>
<ingredient id="47272" count="1" /> <!-- Mother Tree Guardians Talisman Stage 2 -->
<ingredient id="35563" count="1" /> <!-- Giant's Energy -->
@@ -28,15 +19,6 @@
<production id="47273" count="1" chance="70" /> <!-- Mother Tree Guardians Talisman Stage 3 -->
<production id="47271" count="1" chance="30" /> <!-- Mother Tree Guardians Talisman Stage 1 -->
</item>
<item>
<ingredient id="47272" count="1" /> <!-- Mother Tree Guardians Talisman Stage 2 -->
<ingredient id="47739" count="1" /> <!-- Hunter's Amulet -->
<ingredient id="35563" count="1" /> <!-- Giant's Energy -->
<ingredient id="47257" count="10" /> <!-- Life Crystal -->
<production id="47273" count="1" /> <!-- Mother Tree Guardians Talisman Stage 3 -->
<production id="47273" count="1" chance="70" /> <!-- Mother Tree Guardians Talisman Stage 3 -->
<production id="47272" count="1" chance="30" /> <!-- Mother Tree Guardians Talisman Stage 2 -->
</item>
<item>
<ingredient id="47273" count="1" /> <!-- Mother Tree Guardians Talisman Stage 3 -->
<ingredient id="35563" count="1" /> <!-- Giant's Energy -->
@@ -45,15 +27,6 @@
<production id="47274" count="1" chance="60" /> <!-- Mother Tree Guardians Talisman Stage 4 -->
<production id="47271" count="1" chance="40" /> <!-- Mother Tree Guardians Talisman Stage 1 -->
</item>
<item>
<ingredient id="47273" count="1" /> <!-- Mother Tree Guardians Talisman Stage 3 -->
<ingredient id="47739" count="1" /> <!-- Hunter's Amulet -->
<ingredient id="35563" count="1" /> <!-- Giant's Energy -->
<ingredient id="47257" count="10" /> <!-- Life Crystal -->
<production id="47274" count="1" /> <!-- Mother Tree Guardians Talisman Stage 4 -->
<production id="47274" count="1" chance="60" /> <!-- Mother Tree Guardians Talisman Stage 4 -->
<production id="47273" count="1" chance="40" /> <!-- Mother Tree Guardians Talisman Stage 3 -->
</item>
<item>
<ingredient id="47274" count="1" /> <!-- Mother Tree Guardians Talisman Stage 4 -->
<ingredient id="35563" count="1" /> <!-- Giant's Energy -->
@@ -62,15 +35,6 @@
<production id="47275" count="1" chance="60" /> <!-- Mother Tree Guardians Talisman Stage 5 -->
<production id="47271" count="1" chance="40" /> <!-- Mother Tree Guardians Talisman Stage 1 -->
</item>
<item>
<ingredient id="47274" count="1" /> <!-- Mother Tree Guardians Talisman Stage 4 -->
<ingredient id="47739" count="1" /> <!-- Hunter's Amulet -->
<ingredient id="35563" count="1" /> <!-- Giant's Energy -->
<ingredient id="47257" count="10" /> <!-- Life Crystal -->
<production id="47275" count="1" /> <!-- Mother Tree Guardians Talisman Stage 5 -->
<production id="47275" count="1" chance="60" /> <!-- Mother Tree Guardians Talisman Stage 5 -->
<production id="47274" count="1" chance="40" /> <!-- Mother Tree Guardians Talisman Stage 4 -->
</item>
<item>
<ingredient id="47275" count="1" /> <!-- Mother Tree Guardians Talisman Stage 5 -->
<ingredient id="35563" count="2" /> <!-- Giant's Energy -->
@@ -79,15 +43,6 @@
<production id="47276" count="1" chance="50" /> <!-- Mother Tree Guardians Talisman Stage 6 -->
<production id="47271" count="1" chance="50" /> <!-- Mother Tree Guardians Talisman Stage 1 -->
</item>
<item>
<ingredient id="47275" count="1" /> <!-- Mother Tree Guardians Talisman Stage 5 -->
<ingredient id="47739" count="1" /> <!-- Hunter's Amulet -->
<ingredient id="35563" count="2" /> <!-- Giant's Energy -->
<ingredient id="47257" count="10" /> <!-- Life Crystal -->
<production id="47276" count="1" /> <!-- Mother Tree Guardians Talisman Stage 6 -->
<production id="47276" count="1" chance="50" /> <!-- Mother Tree Guardians Talisman Stage 6 -->
<production id="47275" count="1" chance="50" /> <!-- Mother Tree Guardians Talisman Stage 5 -->
</item>
<item>
<ingredient id="47276" count="1" /> <!-- Mother Tree Guardians Talisman Stage 6 -->
<ingredient id="35563" count="2" /> <!-- Giant's Energy -->
@@ -96,15 +51,6 @@
<production id="47277" count="1" chance="50" /> <!-- Mother Tree Guardians Talisman Stage 7 -->
<production id="47271" count="1" chance="50" /> <!-- Mother Tree Guardians Talisman Stage 1 -->
</item>
<item>
<ingredient id="47276" count="1" /> <!-- Mother Tree Guardians Talisman Stage 6 -->
<ingredient id="47739" count="1" /> <!-- Hunter's Amulet -->
<ingredient id="35563" count="2" /> <!-- Giant's Energy -->
<ingredient id="47257" count="10" /> <!-- Life Crystal -->
<production id="47277" count="1" /> <!-- Mother Tree Guardians Talisman Stage 7 -->
<production id="47277" count="1" chance="50" /> <!-- Mother Tree Guardians Talisman Stage 7 -->
<production id="47276" count="1" chance="50" /> <!-- Mother Tree Guardians Talisman Stage 6 -->
</item>
<item>
<ingredient id="47277" count="1" /> <!-- Mother Tree Guardians Talisman Stage 7 -->
<ingredient id="35563" count="3" /> <!-- Giant's Energy -->
@@ -113,15 +59,6 @@
<production id="47278" count="1" chance="40" /> <!-- Mother Tree Guardians Talisman Stage 8 -->
<production id="47271" count="1" chance="60" /> <!-- Mother Tree Guardians Talisman Stage 1 -->
</item>
<item>
<ingredient id="47277" count="1" /> <!-- Mother Tree Guardians Talisman Stage 7 -->
<ingredient id="47739" count="2" /> <!-- Hunter's Amulet -->
<ingredient id="35563" count="3" /> <!-- Giant's Energy -->
<ingredient id="47257" count="10" /> <!-- Life Crystal -->
<production id="47278" count="1" /> <!-- Mother Tree Guardians Talisman Stage 8 -->
<production id="47278" count="1" chance="40" /> <!-- Mother Tree Guardians Talisman Stage 8 -->
<production id="47277" count="1" chance="60" /> <!-- Mother Tree Guardians Talisman Stage 7 -->
</item>
<item>
<ingredient id="47278" count="1" /> <!-- Mother Tree Guardians Talisman Stage 8 -->
<ingredient id="35563" count="3" /> <!-- Giant's Energy -->
@@ -130,15 +67,6 @@
<production id="47279" count="1" chance="30" /> <!-- Mother Tree Guardians Talisman Stage 9 -->
<production id="47271" count="1" chance="70" /> <!-- Mother Tree Guardians Talisman Stage 1 -->
</item>
<item>
<ingredient id="47278" count="1" /> <!-- Mother Tree Guardians Talisman Stage 8 -->
<ingredient id="47739" count="2" /> <!-- Hunter's Amulet -->
<ingredient id="35563" count="3" /> <!-- Giant's Energy -->
<ingredient id="47257" count="10" /> <!-- Life Crystal -->
<production id="47279" count="1" /> <!-- Mother Tree Guardians Talisman Stage 9 -->
<production id="47279" count="1" chance="30" /> <!-- Mother Tree Guardians Talisman Stage 9 -->
<production id="47278" count="1" chance="70" /> <!-- Mother Tree Guardians Talisman Stage 8 -->
</item>
<item>
<ingredient id="47279" count="1" /> <!-- Mother Tree Guardians Talisman Stage 9 -->
<ingredient id="35563" count="3" /> <!-- Giant's Energy -->
@@ -147,13 +75,4 @@
<production id="47280" count="1" chance="30" /> <!-- Mother Tree Guardians Talisman Stage 10 -->
<production id="47271" count="1" chance="70" /> <!-- Mother Tree Guardians Talisman Stage 1 -->
</item>
<item>
<ingredient id="47279" count="1" /> <!-- Mother Tree Guardians Talisman Stage 9 -->
<ingredient id="47739" count="2" /> <!-- Hunter's Amulet -->
<ingredient id="35563" count="3" /> <!-- Giant's Energy -->
<ingredient id="47257" count="10" /> <!-- Life Crystal -->
<production id="47280" count="1" /> <!-- Mother Tree Guardians Talisman Stage 10 -->
<production id="47280" count="1" chance="30" /> <!-- Mother Tree Guardians Talisman Stage 10 -->
<production id="47279" count="1" chance="70" /> <!-- Mother Tree Guardians Talisman Stage 9 -->
</item>
</list>

View File

@@ -61,19 +61,6 @@ public class AreaSkillNpc extends AbstractNpcAI
13452, // Solo Dance
13453, // Solo Dance
13454, // Solo Dance
13576, // Solo Dance
13577, // Solo Dance
13541, // Solo Dance
13542, // Solo Dance
13543, // Solo Dance
13544, // Solo Dance
13545, // Solo Dance
13546, // Solo Dance
13547, // Solo Dance
13548, // Solo Dance
13549, // Solo Dance
13580, // Solo Dance
13581, // Solo Dance
};
private static final int[] DECOY = // ai_decoy
{

View File

@@ -39,7 +39,6 @@ public class Q00931_MemoriesOfTheWind extends Quest
// Monsters
private static final int EL_FERA = 23797;
private static final int EL_FLOATO = 23559;
private static final int ENERGY_OF_WIND = 19647;
private static final int KERBEROS_LAGER_N = 23550; // (night)
private static final int KERBEROS_LAGER = 23541;
private static final int KERBEROS_FORT_N = 23551; // (night)
@@ -70,7 +69,7 @@ public class Q00931_MemoriesOfTheWind extends Quest
addStartNpc(CYPHONA);
addTalkId(CYPHONA);
addKillId(EL_FERA, EL_FLOATO);
addKillId(ENERGY_OF_WIND, KERBEROS_LAGER, KERBEROS_LAGER_N, KERBEROS_FORT, KERBEROS_FORT_N, KERBEROS_NERO, KERBEROS_NERO_N, FURY_SYLPH_BARRENA, FURY_SYLPH_BARRENA_N, FURY_SYLPH_TEMPTRESS, FURY_SYLPH_TEMPTRESS_N, FURY_SYLPH_PURKA, FURY_SYLPH_PURKA_N, FURY_KERBEROS_LEGER, FURY_KERBEROS_LEGER_N, FURY_KERBEROS_NERO, FURY_KERBEROS_NERO_N);
addKillId(KERBEROS_LAGER, KERBEROS_LAGER_N, KERBEROS_FORT, KERBEROS_FORT_N, KERBEROS_NERO, KERBEROS_NERO_N, FURY_SYLPH_BARRENA, FURY_SYLPH_BARRENA_N, FURY_SYLPH_TEMPTRESS, FURY_SYLPH_TEMPTRESS_N, FURY_SYLPH_PURKA, FURY_SYLPH_PURKA_N, FURY_KERBEROS_LEGER, FURY_KERBEROS_LEGER_N, FURY_KERBEROS_NERO, FURY_KERBEROS_NERO_N);
registerQuestItems(MEMORIES_OF_THE_WIND);
addCondMinLevel(MIN_LEVEL, "34055-00.htm");
addCondCompletedQuest(Q10831_UnbelievableSight.class.getSimpleName(), "34055-00.htm");
@@ -285,27 +284,13 @@ public class Q00931_MemoriesOfTheWind extends Quest
case FURY_KERBEROS_LEGER_N:
case FURY_KERBEROS_NERO_N:
{
if (getRandom(100) < 50)
{
final Npc mob = addSpawn(ENERGY_OF_WIND, npc.getX(), npc.getY(), npc.getZ(), 0, true, 120000);
addAttackPlayerDesire(mob, killer, 5);
}
else if (getRandom(100) < 25)
if (getRandom(100) < 25)
{
final Npc mob = addSpawn(EL_FERA, npc.getX(), npc.getY(), npc.getZ(), 0, true, 120000);
addAttackPlayerDesire(mob, killer, 5);
}
break;
}
case ENERGY_OF_WIND:
{
if (getRandom(100) < 50)
{
final Npc mob = addSpawn(EL_FLOATO, npc.getX(), npc.getY(), npc.getZ(), 0, true, 120000);
addAttackPlayerDesire(mob, killer, 5);
}
break;
}
case EL_FERA:
case EL_FLOATO:
{

View File

@@ -34,7 +34,7 @@ public class Q10540_ThwartingMimirsPlan extends Quest
// NPCs
private static final int KRENAHT = 34237;
// Boss
private static final int MIMIR = 26137;
private static final int MIMIR = 26148;
// Misc
private static final int MIN_LEVEL = 100;
private static final int GIANTS_SCROLL_R_GRADE_WEAPON = 36386;

View File

@@ -632,6 +632,44 @@
<height normal="25" />
</collision>
</npc>
<npc id="34238" level="85" type="Npc" name="Eubina">
<!-- AUTO GENERATED NPC TODO: FIX IT -->
<race>ETC</race>
<sex>FEMALE</sex>
<stats str="88" int="79" dex="55" wit="78" con="82" men="78">
<vitals hp="8446" hpRegen="10.5" mp="2355" mpRegen="3.6" />
<speed>
<walk ground="64" />
<run ground="120" />
</speed>
<attack physical="1950.2231755595" magical="1331.5869440987" critical="4" attackSpeed="253" range="40" />
<defence physical="405.85106382979" magical="297.0297029703" />
</stats>
<status attackable="false" />
<collision>
<radius normal="9" />
<height normal="19.5" />
</collision>
</npc>
<npc id="34239" level="85" type="Npc" name="Rotoeh">
<!-- AUTO GENERATED NPC TODO: FIX IT -->
<race>ETC</race>
<sex>FEMALE</sex>
<stats str="88" int="79" dex="55" wit="78" con="82" men="78">
<vitals hp="8446" hpRegen="10.5" mp="2355" mpRegen="3.6" />
<speed>
<walk ground="64" />
<run ground="120" />
</speed>
<attack physical="1950.2231755595" magical="1331.5869440987" critical="4" attackSpeed="253" range="40" />
<defence physical="405.85106382979" magical="297.0297029703" />
</stats>
<status attackable="false" />
<collision>
<radius normal="9" />
<height normal="19.5" />
</collision>
</npc>
<npc id="34243" level="100" type="Npc" name="Histie">
<race>KAMAEL</race>
<sex>FEMALE</sex>

View File

@@ -61,8 +61,6 @@ public class AreaSkillNpc extends AbstractNpcAI
13452, // Solo Dance
13453, // Solo Dance
13454, // Solo Dance
13576, // Solo Dance
13577, // Solo Dance
13541, // Solo Dance
13542, // Solo Dance
13543, // Solo Dance
@@ -72,8 +70,6 @@ public class AreaSkillNpc extends AbstractNpcAI
13547, // Solo Dance
13548, // Solo Dance
13549, // Solo Dance
13580, // Solo Dance
13581, // Solo Dance
};
private static final int[] DECOY = // ai_decoy
{

View File

@@ -61,8 +61,6 @@ public class AreaSkillNpc extends AbstractNpcAI
13452, // Solo Dance
13453, // Solo Dance
13454, // Solo Dance
13576, // Solo Dance
13577, // Solo Dance
13541, // Solo Dance
13542, // Solo Dance
13543, // Solo Dance
@@ -72,8 +70,6 @@ public class AreaSkillNpc extends AbstractNpcAI
13547, // Solo Dance
13548, // Solo Dance
13549, // Solo Dance
13580, // Solo Dance
13581, // Solo Dance
};
private static final int[] DECOY = // ai_decoy
{

View File

@@ -61,8 +61,6 @@ public class AreaSkillNpc extends AbstractNpcAI
13452, // Solo Dance
13453, // Solo Dance
13454, // Solo Dance
13576, // Solo Dance
13577, // Solo Dance
13541, // Solo Dance
13542, // Solo Dance
13543, // Solo Dance
@@ -72,8 +70,6 @@ public class AreaSkillNpc extends AbstractNpcAI
13547, // Solo Dance
13548, // Solo Dance
13549, // Solo Dance
13580, // Solo Dance
13581, // Solo Dance
};
private static final int[] DECOY = // ai_decoy
{