Changesftw (#172)

* Npc definitions/npc aggressiveness

Let me know how it works

* Error fix

fixes error
This commit is contained in:
Mr Extremez
2019-11-10 23:26:47 -06:00
committed by Daniel Ginovker
parent e26f32439a
commit d14f4e5044
8 changed files with 134432 additions and 17 deletions
@@ -412,7 +412,7 @@ public class DwarfCannon {
private Npc targetNpc() {
for (int i = 0; i < NpcHandler.maxNPCs; i++) {
for (int i = 0; i < NpcHandler.MAX_NPCS; i++) {
if (NpcHandler.npcs[i] == null) {
continue;
}
@@ -217,7 +217,7 @@ public class Stalls {
}
private static void failGuards(final Client c) {
for (int i = 1; i < NpcHandler.maxNPCs; i ++) {
for (int i = 1; i < NpcHandler.MAX_NPCS; i ++) {
if (NpcHandler.npcs[i] != null) {
if (NpcHandler.npcs[i].npcType == 32
|| NpcHandler.npcs[i].npcType == 1317