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

XWeapons.DamTypeShockCombo


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
class DamTypeShockCombo extends WeaponDamageType
	abstract;

var sound ComboWhore; // OBSOLETE

static function GetHitEffects(out class<xEmitter> HitEffects[4], int VictemHealth )
{
    HitEffects[0] = class'HitSmoke';
}

static function IncrementKills(Controller Killer)
{
	local xPlayerReplicationInfo xPRI;
	
	xPRI = xPlayerReplicationInfo(Killer.PlayerReplicationInfo);
	if ( xPRI != None )
	{
		xPRI.combocount++;
		if ( (xPRI.combocount == 15) && (UnrealPlayer(Killer) != None) )
			UnrealPlayer(Killer).ClientDelayedAnnouncementNamed('ComboWhore',15);
	}
}		

defaultproperties
{
    DeathString="%o couldn't avoid the blast from %k's shock combo."
	MaleSuicide="%o made a tactical error with his shock combo."
	FemaleSuicide="%o made a tactical error with her shock combo."

    bAlwaysSevers=true

    WeaponClass=class'ShockRifle'
    bDetonatesGoop=true
    bThrowRagdoll=true
}


Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Di 5.9.2006 22:36:30.000 - Creation time: Do 14.8.2014 09:58:37.214 - Created with UnCodeX