|
|
@ -37,17 +37,11 @@ public class GetHeightCmd extends AbstractDevCmd { |
|
|
|
float currentHeight = HeightMap.getWorldHeight(currentZone, playerCharacter.getLoc()); |
|
|
|
float currentHeight = HeightMap.getWorldHeight(currentZone, playerCharacter.getLoc()); |
|
|
|
float parentHeight = HeightMap.getWorldHeight(parentZone, playerCharacter.getLoc()); |
|
|
|
float parentHeight = HeightMap.getWorldHeight(parentZone, playerCharacter.getLoc()); |
|
|
|
|
|
|
|
|
|
|
|
this.throwbackInfo(playerCharacter, "Current Altitude : " + currentHeight); |
|
|
|
this.throwbackInfo(playerCharacter, "Zone : " + currentZone.getName()); |
|
|
|
this.throwbackInfo(playerCharacter, "Current Y : " + currentZone.getAbsY()); |
|
|
|
this.throwbackInfo(playerCharacter, "Altitude : " + currentHeight); |
|
|
|
this.throwbackInfo(playerCharacter, "Parent Altitude : " + parentHeight); |
|
|
|
this.throwbackInfo(playerCharacter, "Parent : " + currentZone.getName()); |
|
|
|
this.throwbackInfo(playerCharacter, "Parent Y : " + parentZone.getAbsY()); |
|
|
|
this.throwbackInfo(playerCharacter, "Altitude : " + parentHeight); |
|
|
|
|
|
|
|
|
|
|
|
this.throwbackInfo(playerCharacter, "Character Height: " + playerCharacter.getCharacterHeight()); |
|
|
|
this.throwbackInfo(playerCharacter, "Character Height: " + playerCharacter.getCharacterHeight()); |
|
|
|
this.throwbackInfo(playerCharacter, "Character Height to start swimming: " + playerCharacter.centerHeight); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.throwbackInfo(playerCharacter, "Water Level : " + currentZone.getSeaLevel()); |
|
|
|
|
|
|
|
this.throwbackInfo(playerCharacter, "Character Water Level Above : " + (playerCharacter.getCharacterHeight() + currentHeight - currentZone.getSeaLevel())); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|