Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit b08f7bf

Browse files
committed
Commenting out WIP code
1 parent a0dfebc commit b08f7bf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Imperatus.rte/Actors/Shared/Robot.lua

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
function Create(self)
22
self.walkSpeed = self:GetLimbPathSpeed(1);
3-
self.moveTimer = Timer();
4-
self.stopTimer = Timer();
53
end
64
function Update(self)
75
if self.Health > 0 then
@@ -11,10 +9,11 @@ function Update(self)
119
walkSpeedScalar = walkSpeedScalar - (leg and leg.Frame/leg.FrameCount or 1.1);
1210
end
1311
self:SetLimbPathSpeed(1, self.walkSpeed * walkSpeedScalar);
14-
12+
--[[Display health as relative to physical damage? (to-do this in source instead)
1513
if self.Head and (self.FGArm or self.BGArm or self.FGLeg or self.BGLeg) then
1614
local limbs = {self.Head, self.FGArm, self.BGArm, self.FGLeg, self.BGLeg};
1715
self.Health = self.MaxHealth * (1 - self.WoundCount/self:GetGibWoundLimit(true, false, false)) * #limbs/5;
1816
end
17+
]]--
1918
end
2019
end

0 commit comments

Comments
 (0)