summaryrefslogtreecommitdiff
path: root/tocltcmds.go
diff options
context:
space:
mode:
authorLizzy Fleckenstein <eliasfleckenstein@web.de>2023-02-06 17:34:41 +0100
committerLizzy Fleckenstein <eliasfleckenstein@web.de>2023-02-06 17:40:15 +0100
commitdaeeba9b177de7360322f9bd5196079f02730215 (patch)
tree787e22771cf85b78ea8d20cc0c1036c36b5a808e /tocltcmds.go
parent69251628bc65bb47f7eb06a8f0277d56bb410f2f (diff)
downloadmt-daeeba9b177de7360322f9bd5196079f02730215.tar.xz
Add support for DamageEffect in ToCltHP
Diffstat (limited to 'tocltcmds.go')
-rw-r--r--tocltcmds.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/tocltcmds.go b/tocltcmds.go
index 9563bc8..54ab788 100644
--- a/tocltcmds.go
+++ b/tocltcmds.go
@@ -233,6 +233,8 @@ type ToCltAOMsgs struct {
// ToCltHP updates the player's HP on the client.
type ToCltHP struct {
HP uint16
+ //mt:opt
+ DamageEffect bool
}
// ToCltMovePlayer tells the client that the player has been moved server-side.