Compare commits
2 commits
fe85328400
...
14f5c6e6d1
Author | SHA1 | Date | |
---|---|---|---|
14f5c6e6d1 | |||
e81a8de348 |
2 changed files with 3 additions and 3 deletions
|
@ -252,7 +252,7 @@ fn addBattleTargets(allocator: Allocator, battle: *protocol.SceneBattleInfo) !vo
|
||||||
try battle.battle_target_info.append(.{ .key = 5, .value = pfTargetTail });
|
try battle.battle_target_info.append(.{ .key = 5, .value = pfTargetTail });
|
||||||
},
|
},
|
||||||
// AS
|
// AS
|
||||||
420100...420300 => {
|
420100...420900 => {
|
||||||
try battle.battle_target_info.append(.{ .key = 1, .value = asTargetHead });
|
try battle.battle_target_info.append(.{ .key = 1, .value = asTargetHead });
|
||||||
},
|
},
|
||||||
else => {},
|
else => {},
|
||||||
|
|
|
@ -26,7 +26,7 @@ pub fn onSceneEntityMove(session: *Session, packet: *const Packet, allocator: Al
|
||||||
const req = try packet.getProto(protocol.SceneEntityMoveCsReq, allocator);
|
const req = try packet.getProto(protocol.SceneEntityMoveCsReq, allocator);
|
||||||
for (req.entity_motion_list.items) |entity_motion| {
|
for (req.entity_motion_list.items) |entity_motion| {
|
||||||
if (entity_motion.motion) |motion| {
|
if (entity_motion.motion) |motion| {
|
||||||
//if (entity_motion.entity_id > 99999 and entity_motion.entity_id < 1000000 or entity_motion.entity_id == 0)
|
if (entity_motion.entity_id > 99999 and entity_motion.entity_id < 1000000 or entity_motion.entity_id == 0)
|
||||||
log.debug("[POSITION] entity_id: {}, motion: {}", .{ entity_motion.entity_id, motion });
|
log.debug("[POSITION] entity_id: {}, motion: {}", .{ entity_motion.entity_id, motion });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue