Compare commits

...

3 Commits

Author SHA1 Message Date
MSWS
6e4d957636 update: Decrease silent round probability 2025-12-01 19:23:04 -08:00
MSWS
f44c42ddb1 Merge branch 'dev' of github.com:MSWS/TTT into dev 2025-12-01 17:54:29 -08:00
MSWS
e47e85651c fix: Poison shots working with non-pistols (resolves #194) 2025-12-01 17:52:22 -08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ public class PoisonShotsListener(IServiceProvider provider)
if (ev.Attacker == null) return;
if (!poisonShots.TryGetValue(ev.Attacker, out var shot) || shot <= 0)
return;
if (ev.Weapon == null || !Tag.GUNS.Contains(ev.Weapon)) return;
if (ev.Weapon == null || !Tag.PISTOLS.Contains(ev.Weapon)) return;
Messenger.Message(ev.Attacker,
Locale[PoisonShotMsgs.SHOP_ITEM_POISON_HIT(ev.Player)]);
addPoisonEffect(ev.Player, ev.Attacker);

View File

@@ -1,5 +1,5 @@
namespace SpecialRoundAPI.Configs;
public record SilentRoundConfig : SpecialRoundConfig {
public override float Weight { get; init; } = 0.5f;
public override float Weight { get; init; } = 0.2f;
}