From ad1b4fd630c166ef6f5093d8e062573380936f73 Mon Sep 17 00:00:00 2001 From: Mingwei Samuel Date: Thu, 7 Oct 2021 09:24:56 -0700 Subject: [PATCH] Add Team ID 300 for baron killing herald --- riven/src/consts/team.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/riven/src/consts/team.rs b/riven/src/consts/team.rs index 4bf24d5..9aea966 100644 --- a/riven/src/consts/team.rs +++ b/riven/src/consts/team.rs @@ -6,10 +6,13 @@ use num_enum::{ IntoPrimitive, TryFromPrimitive }; #[derive(Eq, PartialEq, Hash, Ord, PartialOrd)] #[derive(Serialize_repr, Deserialize_repr)] #[derive(IntoPrimitive, TryFromPrimitive)] -#[repr(u8)] +#[repr(u16)] pub enum Team { /// Blue team (bottom left on Summoner's Rift). BLUE = 100, /// Red team (top right on Summoner's Rift). RED = 200, + + /// "killerTeamId" when Baron Nashor spawns and kills Rift Herald. + OTHER = 300, }