Skip to content

Commit

Permalink
Stun changes (tpan496#37)
Browse files Browse the repository at this point in the history
* Nerf stun buildup for demo perk

This perk allowed all demo nades to be far more potent than even a stun grenade built for that sole purpose. The same perk for this also has other benefits so it isn't too big of a change

* Increased stun grenade stun buildup

Stun buildup matches old impact grenade buildup making it capable of stunning more than basic mobs
  • Loading branch information
Jagnt authored Nov 6, 2023
1 parent 583185e commit f3146f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gamemodes/horde/entities/entities/arccw_thr_stun/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function ENT:FlashBang()
k:SetDSP( 37, false )

elseif k:IsNPC() then
k:Horde_AddDebuffBuildup(HORDE.Status_Stun, 200, attacker, k:GetPos())
k:Horde_AddDebuffBuildup(HORDE.Status_Stun, 500, attacker, k:GetPos())
end
end
end
Expand All @@ -122,4 +122,4 @@ end

function ENT:Draw()
self:DrawModel()
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ PERK.Hooks.Horde_OnPlayerDamage = function (ply, npc, bonus, hitgroup, dmginfo)
e:SetOrigin(inflictor:GetPos())
util.Effect("Explosion", e)
util.BlastDamage(inflictor, ply, inflictor:GetPos(), 150, 150)
npc:Horde_AddDebuffBuildup(HORDE.Status_Stun, 500, ply, npc:GetPos())
npc:Horde_AddDebuffBuildup(HORDE.Status_Stun, 200, ply, npc:GetPos())
inflictor:Remove()
end
end
end

0 comments on commit f3146f9

Please sign in to comment.