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
@@ -888,11 +888,11 @@ public abstract class Player {
public byte playerInListBitmap[] = new byte[Constants.MAX_PLAYERS + 7 >> 3];
public static final int maxNPCListSize = NpcHandler.maxNPCs;
public static final int maxNPCListSize = NpcHandler.MAX_NPCS;
public Npc npcList[] = new Npc[maxNPCListSize];
public int npcListSize = 0;
public byte npcInListBitmap[] = new byte[NpcHandler.maxNPCs + 7 >> 3];
public byte npcInListBitmap[] = new byte[NpcHandler.MAX_NPCS + 7 >> 3];
public boolean withinDistance(Player otherPlr) {
if (heightLevel != otherPlr.heightLevel) {