mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
a
This commit is contained in:
1 parent
d65961816f
commit
93418c4cad
2 files changed
+10
-6
No files matched your search
+2
-3
@@ -32,10 +32,9 @@ Support for Among Us v18.0 (2026. 08. 18.)
|
|||||||
|
|
||||||
Thanks to TommyXL for fixing the build errors after the update!
|
Thanks to TommyXL for fixing the build errors after the update!
|
||||||
|
|
||||||
> [!WARNING]
|
I know this release is very, very late, but I wanted to actually support the new update, not just a Band-Aid fire extinguish. Hope you enjoy still!
|
||||||
> If you're joining a lobby hosted on vanilla regions (NA/EU/AS), please make sure you have a vanilla region selected in the Create Game menu, otherwise authentication will fail.
|
|
||||||
|
|
||||||
> [!TIP]
|
> [!TIP]
|
||||||
> **Play on modded regions** (MEU/MAS/MNA/Niko-EU/Niko-AS/Niko-NA) for an overall better experience. Mobile and PC users can install them [from my website](https://ehr.gurge44.eu/regions).
|
> **Play on modded regions** (MEU/MAS/MNA/Niko-EU/Niko-AS/Niko-NA/AOU-EU) for an overall better experience. Mobile and PC users can install them [from my website](https://ehr.gurge44.eu/regions).
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -208,8 +208,13 @@ public class Jackal : RoleBase
|
|||||||
PlayerControl sk = SidekickId.GetPlayer();
|
PlayerControl sk = SidekickId.GetPlayer();
|
||||||
if (!sk || !sk.Is(CustomRoles.Sidekick)) return;
|
if (!sk || !sk.Is(CustomRoles.Sidekick)) return;
|
||||||
|
|
||||||
sk.RpcSetCustomRole(CustomRoles.Jackal);
|
GameEndChecker.ShouldNotCheck = true;
|
||||||
if (!PromotedSKCanRecruit.GetBool()) sk.SetAbilityUseLimit(0);
|
try
|
||||||
|
{
|
||||||
|
sk.RpcSetCustomRole(CustomRoles.Jackal);
|
||||||
|
if (!PromotedSKCanRecruit.GetBool()) sk.SetAbilityUseLimit(0);
|
||||||
|
}
|
||||||
|
finally { GameEndChecker.ShouldNotCheck = false; }
|
||||||
}
|
}
|
||||||
catch (Exception e) { Utils.ThrowException(e); }
|
catch (Exception e) { Utils.ThrowException(e); }
|
||||||
}
|
}
|
||||||
@@ -219,7 +224,7 @@ public class Jackal : RoleBase
|
|||||||
Instances.ForEach(x =>
|
Instances.ForEach(x =>
|
||||||
{
|
{
|
||||||
var pc = x.JackalId.GetPlayer();
|
var pc = x.JackalId.GetPlayer();
|
||||||
if (!pc || pc.IsAlive()) return;
|
if (pc && pc.IsAlive()) return;
|
||||||
|
|
||||||
x.PromoteSidekick();
|
x.PromoteSidekick();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user