From a882ff3bd8c7927df029db85a0589e4f3d0fba8a Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Fri, 20 Dec 2019 18:06:59 +0100 Subject: add comment about 12 byte padding --- src/bt.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/bt.rs b/src/bt.rs index 8cda030..c348fca 100644 --- a/src/bt.rs +++ b/src/bt.rs @@ -280,7 +280,10 @@ impl BuildTemplate { } } - // Weird padding, achieved by looking at other chat links. + // 12 more bytes are used to save the order of the skills in the inactive revenant + // utilities (the active ones are saved in the normal skill slots). + // The order is terrestric 1/2/3 and then aquatic 1/2/3, with 2 bytes per skill. + // We don't care about that, so just do whatever. for _ in 0..12 { bytes.push(0); } -- cgit v1.2.3