Skip to content

Commit

Permalink
Merge pull request #3612 from Kherae/master
Browse files Browse the repository at this point in the history
stuff
  • Loading branch information
sayterdarkwynd authored Dec 4, 2024
2 parents ebf43ab + 99f188b commit fba6234
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion interface/scripted/statWindow/extraStatsWindow.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function update()
elseif type == "food" then
local foodVal=status.isResource("food") and status.resourceMax("food") or 0
if foodVal~=0 then
value=math.abs(shorten(foodVal/(value*60.0)))
value=shorten(foodVal/(value*60.0))*-1
if value % 1 == 0 then
widget.setText(stat, tostring(math.floor(value)))
else
Expand Down
3 changes: 2 additions & 1 deletion stats/effects/fu_weaponeffects/bleeding/bleeding.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
function init()
self.source=effect.sourceEntity()
animator.setParticleEmitterOffsetRegion("healing", mcontroller.boundBox())
animator.setParticleEmitterEmissionRate("healing", config.getParameter("emissionRate", 3))
animator.setParticleEmitterActive("healing", true)
Expand All @@ -24,7 +25,7 @@ function update(dt)
damageType = "IgnoresDef",
damage = damageVal,
damageSourceKind = "bow",
sourceEntityId = entity.id()
sourceEntityId = self.source
})
end
end
Expand Down

0 comments on commit fba6234

Please sign in to comment.