Make bible less annoying (#6396)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -7,15 +7,15 @@
|
||||
- type: Bible
|
||||
damage:
|
||||
groups:
|
||||
Brute: -7
|
||||
Burn: -7
|
||||
Brute: -35
|
||||
Burn: -35
|
||||
damageOnFail:
|
||||
groups:
|
||||
Brute: 4
|
||||
Airloss: 6
|
||||
Brute: 15
|
||||
Airloss: 25
|
||||
damageOnUntrainedUse: ## What a non-chaplain takes when attempting to heal someone
|
||||
groups:
|
||||
Burn: 10
|
||||
Burn: 30
|
||||
- type: ItemCooldown
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
|
||||
Reference in New Issue
Block a user