mirror of
https://github.com/MSWS/TTT.git
synced 2025-12-05 22:20:25 -08:00
Compare commits
3 Commits
ba91bfb1cf
...
2.0.3-dev.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6e4d957636 | ||
|
|
f44c42ddb1 | ||
|
|
e47e85651c |
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user