Starting rotation counter related cleanup.

This commit is contained in:
MobiusDevelopment
2020-03-01 01:29:59 +00:00
parent 7efa56e987
commit ecaf8a1a66

View File

@@ -205,6 +205,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
private final byte[] _zones = new byte[ZoneId.getZoneCount()]; private final byte[] _zones = new byte[ZoneId.getZoneCount()];
private boolean _advanceFlag = false; private boolean _advanceFlag = false;
private int _advanceMultiplier = 1; private int _advanceMultiplier = 1;
private byte _startingRotationCounter = 4;
/** /**
* Check if the character is in the given zone Id. * Check if the character is in the given zone Id.
@@ -381,17 +382,6 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
getAttackByList().add(creature); getAttackByList().add(creature);
} }
/**
* Send a packet to the Creature AND to all PlayerInstance in the _KnownPlayers of the Creature.<BR>
* <BR>
* <B><U> Concept</U> :</B><BR>
* <BR>
* PlayerInstance in the detection area of the Creature are identified in <B>_knownPlayers</B>. In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet<BR>
* <BR>
*/
protected byte _startingRotationCounter = 4;
/** /**
* Checks if is starting rotation allowed. * Checks if is starting rotation allowed.
* @return true, if is starting rotation allowed * @return true, if is starting rotation allowed
@@ -412,10 +402,6 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
return false; return false;
} }
/**
* Broadcast packet.
* @param mov the mov
*/
public void broadcastPacket(GameServerPacket mov) public void broadcastPacket(GameServerPacket mov)
{ {
if (!(mov instanceof CharInfo)) if (!(mov instanceof CharInfo))