mirror of
https://github.com/nzp-team/quakec.git
synced 2025-02-16 17:10:55 +00:00
SERVER: Buff Perk Jingle/Sting volume
This commit is contained in:
parent
5fcbfae078
commit
4098fbb8cc
1 changed files with 2 additions and 2 deletions
|
@ -155,7 +155,7 @@ void DrinkPerk(float perk) {
|
|||
|
||||
// Play Perk Sting if we can and it exists
|
||||
if (self.aistatus && self.ltime < time) {
|
||||
sound(self, CHAN_AUTO, self.aistatus, 0.25, ATTN_IDLE);
|
||||
sound(self, CHAN_AUTO, self.aistatus, 0.5, ATTN_IDLE);
|
||||
self.ltime = time + self.anim_weapon_time;
|
||||
}
|
||||
}
|
||||
|
@ -383,7 +383,7 @@ void() Perk_Jingle =
|
|||
// 15% Chance to Play Jingle
|
||||
local float chance = random();
|
||||
if (chance <= 0.15) {
|
||||
sound(self, CHAN_AUTO, self.powerup_vo, 0.25, ATTN_IDLE);
|
||||
sound(self, CHAN_AUTO, self.powerup_vo, 0.5, ATTN_IDLE);
|
||||
self.ltime = time + self.anim_weapon2_time;
|
||||
jinglewaittime += self.anim_weapon2_time;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue