Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class WMPawn_ZedCrawler_Ultra extends KFPawn_ZedCrawler;
  2.  
  3. var float ExtraResistance;
  4.  
  5. static function string GetLocalizedName()
  6. {
  7.     return "Ultra Crawler";
  8. }
  9.  
  10. simulated function PostBeginPlay()
  11. {
  12.     IntendedBodyScale = 2;
  13.    
  14.     super.PostBeginPlay();
  15. }
  16.  
  17. /** Returns damage multiplier for an incoming damage type @todo: c++?*/
  18. function float GetDamageTypeModifier(class<DamageType> DT)
  19. {
  20.     local float currentMod;
  21.    
  22.     // Omega ZEDs have extra resistance against all damage type
  23.     currentMod = super.GetDamageTypeModifier(DT);
  24.     return FMax(0.01f, currentMod - ExtraResistance);
  25. }
  26.  
  27. defaultproperties
  28. {
  29.    DoshValue=48
  30.    XPValues(0)=30.000000
  31.    XPValues(1)=36.000000
  32.    XPValues(2)=36.000000
  33.    XPValues(3)=39.000000
  34.    
  35.    bKnockdownWhenJumpedOn=False
  36.    DifficultySettings=Class'JPZedternal.WMDifficulty_Crawler_Big'
  37.    
  38.    Mass=450.000000
  39.    GroundSpeed=270.000000
  40.    SprintSpeed=325.000000
  41.    Health=530
  42.    HitZones(0)=(GoreHealth=300)
  43.    ExtraResistance=0.650000
  44.    Name="Default__WMPawn_ZedCrawler_Ultra"
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement