KF2-CustomZeds/CustomZeds/Classes/WMPawn_ZedCrawler_Huge.uc

46 lines
872 B
Ucode
Raw Permalink Normal View History

2022-05-16 13:35:37 +00:00
class WMPawn_ZedCrawler_Huge 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.HugeString @ super.GetLocalizedName();
2022-05-16 13:35:37 +00:00
}
simulated function PostBeginPlay()
{
IntendedBodyScale = 1.55f;
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=24
Health=375
Mass=300.0f
GroundSpeed=340.0f
SprintSpeed=420.0f
ExtraDamageResistance=0.55f
XPValues(0)=16
XPValues(1)=20
XPValues(2)=20
XPValues(3)=20
HitZones(0)=(GoreHealth=200)
Name="Default__WMPawn_ZedCrawler_Huge"
}