RuneI
Class DwarfUnderground

source: c:\runehov\RuneI\Classes\DwarfUnderground.uc
Core.Object
   |
   +--Engine.Actor
      |
      +--Engine.Pawn
         |
         +--RuneI.ScriptPawn
            |
            +--RuneI.Dwarf
               |
               +--RuneI.DwarfUnderground
Direct Known Subclasses:None

class DwarfUnderground
extends RuneI.Dwarf

//============================================================================= // DwarfUnderground. //=============================================================================

Function Summary
 int LimbPassThrough(int BodyPart, int Blunt, int Sever)
     
//============================================================
//
// LimbPassThrough
//
// Determines what damage is passed through to body
//============================================================
 EMatterType MatterForJoint(int joint)
     
//============================================================
//
// MatterForJoint
//
// Returns what kind of material joint is associated with
//============================================================



Source Code


00001	//=============================================================================
00002	// DwarfUnderground.
00003	//=============================================================================
00004	class DwarfUnderground expands Dwarf;
00005	//abstract;	// use individual child classes
00006	
00007	//============================================================
00008	//
00009	// MatterForJoint
00010	//
00011	// Returns what kind of material joint is associated with
00012	//============================================================
00013	function EMatterType MatterForJoint(int joint)
00014	{
00015		return MATTER_SHIELD;
00016	}
00017	
00018	
00019	//============================================================
00020	//
00021	// LimbPassThrough
00022	//
00023	// Determines what damage is passed through to body
00024	//============================================================
00025	function int LimbPassThrough(int BodyPart, int Blunt, int Sever)
00026	{
00027		if (BodyPart == BODYPART_BODY)	// Falling damage, etc.
00028			return Blunt;
00029	
00030		return Blunt;	// Armor protects from sever damage
00031	}
00032	
00033	defaultproperties
00034	{
00035	     StartWeapon=Class'RuneI.DwarfBattleHammer'
00036	}

End Source Code