Cleaning up
This commit is contained in:
@@ -157,9 +157,8 @@ function AmputationHandler:damageAfterAmputation(surgeonFactor)
|
|||||||
local baseDamage = StaticData.LIMBS_BASE_DAMAGE_IND_NUM[self.limbName]
|
local baseDamage = StaticData.LIMBS_BASE_DAMAGE_IND_NUM[self.limbName]
|
||||||
|
|
||||||
|
|
||||||
-- TODO Torniquet should reduce the damage in total, less blood loss
|
|
||||||
-- Check if player has tourniquet equipped on the limb
|
-- Check if player has tourniquet equipped on the limb
|
||||||
|
-- TODO Suboptimal checks, but they should work for now.
|
||||||
local hasTourniquet = AmputationHandler.CheckTourniquet(self.patientPl, self.limbName)
|
local hasTourniquet = AmputationHandler.CheckTourniquet(self.patientPl, self.limbName)
|
||||||
if hasTourniquet then
|
if hasTourniquet then
|
||||||
TOC_DEBUG.print("Do something different for the damage calculation because tourniquet is applied")
|
TOC_DEBUG.print("Do something different for the damage calculation because tourniquet is applied")
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ module TOC
|
|||||||
Insulation = 1.0,
|
Insulation = 1.0,
|
||||||
WindResistance = 1.0,
|
WindResistance = 1.0,
|
||||||
WaterResistance = 1.0,
|
WaterResistance = 1.0,
|
||||||
Icon = genericAmputation,
|
|
||||||
CanHaveHoles = false,
|
CanHaveHoles = false,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -38,7 +37,6 @@ module TOC
|
|||||||
Insulation = 1.0,
|
Insulation = 1.0,
|
||||||
WindResistance = 1.0,
|
WindResistance = 1.0,
|
||||||
WaterResistance = 1.0,
|
WaterResistance = 1.0,
|
||||||
Icon = genericAmputation,
|
|
||||||
CanHaveHoles = false,
|
CanHaveHoles = false,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -55,7 +53,6 @@ module TOC
|
|||||||
Insulation = 1.0,
|
Insulation = 1.0,
|
||||||
WindResistance = 1.0,
|
WindResistance = 1.0,
|
||||||
WaterResistance = 1.0,
|
WaterResistance = 1.0,
|
||||||
Icon = genericAmputation,
|
|
||||||
CanHaveHoles = false,
|
CanHaveHoles = false,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -74,7 +71,6 @@ module TOC
|
|||||||
|
|
||||||
WindResistance = 1.0,
|
WindResistance = 1.0,
|
||||||
WaterResistance = 1.0,
|
WaterResistance = 1.0,
|
||||||
Icon = genericAmputation,
|
|
||||||
CanHaveHoles = false,
|
CanHaveHoles = false,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -92,7 +88,6 @@ module TOC
|
|||||||
Insulation = 1.0,
|
Insulation = 1.0,
|
||||||
WindResistance = 1.0,
|
WindResistance = 1.0,
|
||||||
WaterResistance = 1.0,
|
WaterResistance = 1.0,
|
||||||
Icon = genericAmputation,
|
|
||||||
CanHaveHoles = false,
|
CanHaveHoles = false,
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -111,7 +106,6 @@ module TOC
|
|||||||
Insulation = 1.0,
|
Insulation = 1.0,
|
||||||
WindResistance = 1.0,
|
WindResistance = 1.0,
|
||||||
WaterResistance = 1.0,
|
WaterResistance = 1.0,
|
||||||
Icon = genericAmputation,
|
|
||||||
CanHaveHoles = false,
|
CanHaveHoles = false,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 820 B |
Binary file not shown.
|
Before Width: | Height: | Size: 49 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 3.1 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1016 B After Width: | Height: | Size: 2.4 KiB |
Reference in New Issue
Block a user