use of proper animations
This commit is contained in:
@@ -81,7 +81,7 @@ public class TargetedActionMsg extends ClientNetMsg {
|
||||
private float locX;
|
||||
private float locZ;
|
||||
private int unknown01 = 14;
|
||||
private int unknown02 = 100; //source animation
|
||||
private int animationID = 100; //source animation
|
||||
private float unknown03 = 1f;
|
||||
private float sourceStamina = 1f; // attackers stamina after attack
|
||||
private int unknown05 = 6; //signify passive defense
|
||||
@@ -164,7 +164,7 @@ public class TargetedActionMsg extends ClientNetMsg {
|
||||
this.newHealth = 1f;
|
||||
this.damage = damage;
|
||||
}
|
||||
this.unknown02 = swingAnimation;
|
||||
this.animationID = swingAnimation;
|
||||
//this.unknown02 = TargetedActionMsg.un2cnt;
|
||||
}
|
||||
|
||||
@@ -196,7 +196,7 @@ public class TargetedActionMsg extends ClientNetMsg {
|
||||
this.newHealth = 1f;
|
||||
this.damage = damage;
|
||||
}
|
||||
this.unknown02 = swingAnimation;
|
||||
this.animationID = swingAnimation;
|
||||
//this.unknown02 = TargetedActionMsg.un2cnt;
|
||||
}
|
||||
|
||||
@@ -247,7 +247,7 @@ public class TargetedActionMsg extends ClientNetMsg {
|
||||
writer.putFloat(this.locX);
|
||||
writer.putFloat(this.locZ);
|
||||
writer.putInt(this.unknown01);
|
||||
writer.putInt(this.unknown02);
|
||||
writer.putInt(this.animationID);
|
||||
writer.putFloat(this.unknown03);
|
||||
writer.putFloat(this.sourceStamina);
|
||||
writer.putInt(this.unknown05);
|
||||
@@ -275,7 +275,7 @@ public class TargetedActionMsg extends ClientNetMsg {
|
||||
this.locX = reader.getFloat();
|
||||
this.locZ = reader.getFloat();
|
||||
this.unknown01 = reader.getInt();
|
||||
this.unknown02 = reader.getInt();
|
||||
this.animationID = reader.getInt();
|
||||
this.unknown03 = reader.getFloat();
|
||||
this.sourceStamina = reader.getFloat();
|
||||
this.unknown05 = reader.getInt();
|
||||
|
||||
Reference in New Issue
Block a user