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

Betrayal.BetrayalDamTypeMercuryAirHit


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
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
//=============================================================================
// Copyright 2003-2011 by Wormbo <wormbo@online.de>
//
// Damage type for direct mercury missile air hit with missile blowing up.
//=============================================================================


class BetrayalDamTypeMercuryAirHit extends BetrayalDamTypeMercuryDirectHit abstract;


//=============================================================================
// IncrementKills
//
// Play a headshot announcement and count the number of headshots
//=============================================================================

static function IncrementKills(Controller Killer)
{
	if (BetrayalPRI(Killer.PlayerReplicationInfo) != None)
		BetrayalPRI(Killer.PlayerReplicationInfo).FlakCount++;

	if (PlayerController(Killer) == None)
		return;

	PlayerController(Killer).ReceiveLocalizedMessage(class'BetrayalSpecialKillMessage', 1);
}


//=============================================================================
// Default properties
//=============================================================================

defaultproperties
{
	DeathString   = "%k picked off %o in mid-air with a mercury missile."
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: So 20.3.2011 15:01:20.000 - Creation time: Do 14.8.2014 09:58:34.691 - Created with UnCodeX