summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-12-13 17:10:17 -0500
committergumi <git@gumi.ca>2018-12-13 17:10:17 -0500
commit7c1d56ae8932e80e152389c9666bc0a1c0ab5ed8 (patch)
treeea1c4f7413f6797730ec2604dd49ba803a9c5a19 /tools
parentc1dd287b999c9cfcdc02ee01cede7619c173d656 (diff)
downloadtmwa-7c1d56ae8932e80e152389c9666bc0a1c0ab5ed8.tar.gz
tmwa-7c1d56ae8932e80e152389c9666bc0a1c0ab5ed8.tar.bz2
tmwa-7c1d56ae8932e80e152389c9666bc0a1c0ab5ed8.tar.xz
tmwa-7c1d56ae8932e80e152389c9666bc0a1c0ab5ed8.zip
add support for sending player HP for protocol >= 9
Diffstat (limited to 'tools')
-rwxr-xr-xtools/protocol.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/protocol.py b/tools/protocol.py
index 9820056..3a0e25e 100755
--- a/tools/protocol.py
+++ b/tools/protocol.py
@@ -4438,9 +4438,9 @@ def build_context():
at(30, u16, 'clothes color'),
at(32, dir, 'head dir'),
at(33, u8, 'unused2'),
- at(34, u32, 'guild id'),
- at(38, u16, 'guild emblem id'),
- at(40, u16, 'manner'),
+ at(34, u32, 'hp'),
+ at(38, u16, 'part of max hp'),
+ at(40, u16, 'manner or part of max hp'),
at(42, opt3, 'opt3'),
at(44, u8, 'karma'),
at(45, sex, 'sex'),
@@ -4480,9 +4480,9 @@ def build_context():
at(30, u16, 'clothes color'),
at(32, dir, 'head dir'),
at(33, u8, 'unused2'),
- at(34, u32, 'guild id'),
- at(38, u16, 'guild emblem id'),
- at(40, u16, 'manner'),
+ at(34, u32, 'hp'),
+ at(38, u16, 'part of max hp'),
+ at(40, u16, 'manner or part of max hp'),
at(42, opt3, 'opt3'),
at(44, u8, 'karma'),
at(45, sex, 'sex'),
@@ -4522,9 +4522,9 @@ def build_context():
at(34, u16, 'clothes color'),
at(36, dir, 'head dir'),
at(37, u8, 'unused2'),
- at(38, u32, 'guild id'),
- at(42, u16, 'guild emblem id'),
- at(44, u16, 'manner'),
+ at(38, u32, 'hp'),
+ at(42, u16, 'part of max hp'),
+ at(44, u16, 'manner or part of max hp'),
at(46, opt3, 'opt3'),
at(48, u8, 'karma'),
at(49, sex, 'sex'),