====== .damage ======
^ .damage ^^
^Type|[[:Command]]|
^Category|[[:No Category|none]]|
^In-game description|"Applies the given amount of damage.\\ \\ Syntax: .damage \\ Note: The amount is in half-hearts.\\ Example: .damage 7 (applies 3.5 hearts)\\ To apply more damage, run the command multiple times."|
^[[:keybinds#default_keybinds|Default keybind]]|none|
^Source code|[[w7src>net/wurstclient/commands/DamageCmd.java]]|
.damage is a [[:command|chat command]] that applies a given amount of damage. The amount of damage is in half hearts (for example, 7 damage points are 3.5 hearts), and must be a number between 1 and 7. This works on both normal servers and NoCheat+ servers, as long as they have fall damage enabled. To apply more than 7 damage points, run the command multiple times.
===== Syntax =====
Main article: [[Command Syntax]]
* ''.damage '' damages the player with the given amount.\\ \\
Examples:
* ''.damage 7'' This deals 7 damage points (3.5 hearts) of damage.\\ \\
===== Changes =====
^Version^Changes^
|[[update:Wurst 1.14]]|Added a ''.damage'' command|
|[[update:Wurst 2.18]]|Updated the .damage command to make it bypass newer AntiCheat plugins, including Mineplex AntiCheat, Hypixel AntiCheat and NoCheat+.|
|[[update:Wurst 7.0pre1]]|Temporarily removed ''.damage''.|
|[[update:Wurst 7.0pre23]]|Re-added ''.damage''.|
|:::|**Note:** ''.damage'' can no longer apply more than 3.5 hearts of damage at once. To get around this, simply run the command multiple times.|