Assorted code format changes.

This commit is contained in:
MobiusDevelopment
2020-06-14 02:36:44 +00:00
parent 8fcf2e964f
commit bf7c04f166
15 changed files with 78 additions and 73 deletions

View File

@@ -968,11 +968,11 @@ public class Antharas extends Quest
final int countMPHerb = Rnd.get(6, 18);
for (int i = 0; i < countHPHerb; i++)
{
((MonsterInstance) npc).DropItem(killer, 8602, 1);
((MonsterInstance) npc).dropItem(killer, 8602, 1);
}
for (int i = 0; i < countMPHerb; i++)
{
((MonsterInstance) npc).DropItem(killer, 8605, 1);
((MonsterInstance) npc).dropItem(killer, 8605, 1);
}
}
if (_monsters.contains(npc))

View File

@@ -412,7 +412,7 @@ public class NewbieHelper extends Quest
}
else if ((ex <= 2) && (qs1.getState() == State.STARTED) && (qs2.getInt("Gemstone") == 0) && (Rnd.get(100) < 50))
{
((MonsterInstance) npc).DropItem(player, BLUE_GEM, 1);
((MonsterInstance) npc).dropItem(player, BLUE_GEM, 1);
qs1.playSound("ItemSound.quest_tutorial");
qs1.set("step", "1");
}