Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

XGame.SPECIES_Night


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
class SPECIES_Night extends SPECIES_Human
	abstract;


static function int ModifyImpartedDamage( int Damage, pawn injured, pawn instigatedBy, vector HitLocation, vector Momentum, class<DamageType> DamageType )
{
	Damage *= Default.DamageScaling;
	if ( instigatedBy.Health > 0 )
		instigatedBy.Health = Clamp(int(instigatedBy.Health+Damage*0.5), instigatedBy.Health, instigatedBy.HealthMax);
	
	return Damage;
}

defaultproperties
{
     MaleVoice="XGame.NightMaleVoice"
     FemaleVoice="XGame.NightFemaleVoice"
     MaleSoundGroup="XGame.xNightMaleSoundGroup"
     FemaleSoundGroup="XGame.xNightFemaleSoundGroup"
     SpeciesName="Night"
     RaceNum=5
     TauntAnims(8)="Gesture_Taunt03"
     TauntAnims(9)="Idle_Character03"
     DamageScaling=0.700000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: pr 5-2-2018 12:35:50.000 - Creation time: sk 18-3-2018 09:50:19.210 - Created with UnCodeX