KF2-CustomZeds/CustomZeds/Classes/WMPawn_ZedCrawler_Big.uc

46 lines
868 B
Ucode
Raw Normal View History

2022-05-16 13:35:37 +00:00
class WMPawn_ZedCrawler_Big extends WMPawn_ZedCrawler_NoElite;
var const float ExtraDamageResistance;
static function string GetLocalizedName()
{
2024-03-08 14:06:36 +00:00
return class'WMPawn_ZedConstants'.default.BigString @ super.GetLocalizedName();
2022-05-16 13:35:37 +00:00
}
simulated function PostBeginPlay()
{
IntendedBodyScale = 1.2f;
super.PostBeginPlay();
}
function float GetDamageTypeModifier(class<DamageType> DT)
{
local float CurrentMod;
CurrentMod = super.GetDamageTypeModifier(DT);
return FMax(0.025f, CurrentMod - ExtraDamageResistance);
}
defaultproperties
{
2024-03-08 14:06:36 +00:00
DifficultySettings=class'WMDifficulty_Crawler_Big'
2022-05-16 13:35:37 +00:00
bKnockdownWhenJumpedOn=False
DoshValue=12
Health=145
Mass=150.0f
GroundSpeed=485.0f
SprintSpeed=590.0f
ExtraDamageResistance=0.35f
XPValues(0)=12
XPValues(1)=15
XPValues(2)=15
XPValues(3)=15
HitZones(0)=(GoreHealth=125)
Name="Default__WMPawn_ZedCrawler_Big"
}