Proper MagicSkillUse _isGroundTargetSkill value.
This commit is contained in:
parent
87ff6d6e32
commit
c2d2996b38
@ -91,7 +91,7 @@ public class MagicSkillUse extends ServerPacket
|
|||||||
writeInt(_creature.getX());
|
writeInt(_creature.getX());
|
||||||
writeInt(_creature.getY());
|
writeInt(_creature.getY());
|
||||||
writeInt(_creature.getZ());
|
writeInt(_creature.getZ());
|
||||||
writeShort(_isGroundTargetSkill ? 64 : 0);
|
writeShort(_isGroundTargetSkill ? 0x10000 : 0);
|
||||||
writeShort(_groundLocations.size());
|
writeShort(_groundLocations.size());
|
||||||
for (Location location : _groundLocations)
|
for (Location location : _groundLocations)
|
||||||
{
|
{
|
||||||
|
@ -91,7 +91,7 @@ public class MagicSkillUse extends ServerPacket
|
|||||||
writeInt(_creature.getX());
|
writeInt(_creature.getX());
|
||||||
writeInt(_creature.getY());
|
writeInt(_creature.getY());
|
||||||
writeInt(_creature.getZ());
|
writeInt(_creature.getZ());
|
||||||
writeShort(_isGroundTargetSkill ? 64 : 0);
|
writeShort(_isGroundTargetSkill ? 0x10000 : 0);
|
||||||
writeShort(_groundLocations.size());
|
writeShort(_groundLocations.size());
|
||||||
for (Location location : _groundLocations)
|
for (Location location : _groundLocations)
|
||||||
{
|
{
|
||||||
|
@ -91,7 +91,7 @@ public class MagicSkillUse extends ServerPacket
|
|||||||
writeInt(_creature.getX());
|
writeInt(_creature.getX());
|
||||||
writeInt(_creature.getY());
|
writeInt(_creature.getY());
|
||||||
writeInt(_creature.getZ());
|
writeInt(_creature.getZ());
|
||||||
writeShort(_isGroundTargetSkill ? 64 : 0);
|
writeShort(_isGroundTargetSkill ? 0x10000 : 0);
|
||||||
writeShort(_groundLocations.size());
|
writeShort(_groundLocations.size());
|
||||||
for (Location location : _groundLocations)
|
for (Location location : _groundLocations)
|
||||||
{
|
{
|
||||||
|
@ -91,7 +91,7 @@ public class MagicSkillUse extends ServerPacket
|
|||||||
writeInt(_creature.getX());
|
writeInt(_creature.getX());
|
||||||
writeInt(_creature.getY());
|
writeInt(_creature.getY());
|
||||||
writeInt(_creature.getZ());
|
writeInt(_creature.getZ());
|
||||||
writeShort(_isGroundTargetSkill ? 64 : 0);
|
writeShort(_isGroundTargetSkill ? 0x10000 : 0);
|
||||||
writeShort(_groundLocations.size());
|
writeShort(_groundLocations.size());
|
||||||
for (Location location : _groundLocations)
|
for (Location location : _groundLocations)
|
||||||
{
|
{
|
||||||
|
@ -91,7 +91,7 @@ public class MagicSkillUse extends ServerPacket
|
|||||||
writeInt(_creature.getX());
|
writeInt(_creature.getX());
|
||||||
writeInt(_creature.getY());
|
writeInt(_creature.getY());
|
||||||
writeInt(_creature.getZ());
|
writeInt(_creature.getZ());
|
||||||
writeShort(_isGroundTargetSkill ? 64 : 0);
|
writeShort(_isGroundTargetSkill ? 0x10000 : 0);
|
||||||
writeShort(_groundLocations.size());
|
writeShort(_groundLocations.size());
|
||||||
for (Location location : _groundLocations)
|
for (Location location : _groundLocations)
|
||||||
{
|
{
|
||||||
|
@ -91,7 +91,7 @@ public class MagicSkillUse extends ServerPacket
|
|||||||
writeInt(_creature.getX());
|
writeInt(_creature.getX());
|
||||||
writeInt(_creature.getY());
|
writeInt(_creature.getY());
|
||||||
writeInt(_creature.getZ());
|
writeInt(_creature.getZ());
|
||||||
writeShort(_isGroundTargetSkill ? 64 : 0);
|
writeShort(_isGroundTargetSkill ? 0x10000 : 0);
|
||||||
writeShort(_groundLocations.size());
|
writeShort(_groundLocations.size());
|
||||||
for (Location location : _groundLocations)
|
for (Location location : _groundLocations)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user