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
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
{
     WeaponClass=Class'XWeapons.ShockRifle'
     DeathString="%o couldn't avoid the blast from %k's shock combo."
     FemaleSuicide="%o made a tactical error with her shock combo."
     MaleSuicide="%o made a tactical error with his shock combo."
     bAlwaysSevers=Wahr
     bDetonatesGoop=Wahr
     bThrowRagdoll=Wahr
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Fr 30.3.2007 08:43:44.000 - Creation time: Mo 16.4.2007 11:20:46.171 - Created with UnCodeX