Make bible less annoying (#6396)

This commit is contained in:
Rane
2022-01-30 16:33:45 -05:00
committed by GitHub
parent 057a9ea4f3
commit 35076c4c0a
4 changed files with 9 additions and 9 deletions

View File

@@ -56,7 +56,7 @@ namespace Content.Server.Bible
{
_popupSystem.PopupEntity(Loc.GetString("bible-sizzle"), args.User, Filter.Entities(args.User));
SoundSystem.Play(Filter.Pvs(args.User), "/Audio/Effects/lightburn.ogg");
SoundSystem.Play(Filter.Pvs(args.User), "/Audio/Effects/lightburn.ogg", args.User);
_damageableSystem.TryChangeDamage(args.User, component.DamageOnUntrainedUse, true);
return;
@@ -72,7 +72,7 @@ namespace Content.Server.Bible
var selfFailMessage = Loc.GetString("bible-heal-fail-self", ("target", args.Target),("bible", uid));
_popupSystem.PopupEntity(selfFailMessage, args.User, Filter.Entities(args.User));
SoundSystem.Play(Filter.Pvs(args.Target.Value), "/Audio/Effects/hit_kick.ogg");
SoundSystem.Play(Filter.Pvs(args.Target.Value), "/Audio/Effects/hit_kick.ogg", args.User);
_damageableSystem.TryChangeDamage(args.Target.Value, component.DamageOnFail, true);
return;
}
@@ -84,7 +84,7 @@ namespace Content.Server.Bible
var selfMessage = Loc.GetString("bible-heal-success-self", ("target", args.Target),("bible", uid));
_popupSystem.PopupEntity(selfMessage, args.User, Filter.Entities(args.User));
SoundSystem.Play(Filter.Pvs(args.Target.Value), "/Audio/Effects/holy.ogg");
SoundSystem.Play(Filter.Pvs(args.Target.Value), "/Audio/Effects/holy.ogg", args.User);
_damageableSystem.TryChangeDamage(args.Target.Value, component.Damage, true);
}

View File

@@ -33,6 +33,6 @@ namespace Content.Server.Bible.Components
public TimeSpan LastAttackTime;
public TimeSpan CooldownEnd;
public float CooldownTime { get; } = 1f;
public float CooldownTime { get; } = 5f;
}
}