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

UT2004RPG.RW_Protection


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
class RW_Protection extends RPGWeapon
    HideDropDown
    CacheExempt;

function AdjustPlayerDamage(out int Damage, Pawn InstigatedBy, Vector HitLocation, out Vector Momentum, class<DamageType> DamageType)
{
    if (!bIdentified)
        Identify();
    Damage -= Damage * (0.1 * Modifier);
    Super.AdjustPlayerDamage(Damage, InstigatedBy, HitLocation, Momentum, DamageType);
}

defaultproperties
{
    MaxModifier=3
    PostFixPos=" of Protection"
    ModifierOverlay=Shader'XGameShaders.PlayerShaders.PlayerShieldSh'
    AIRatingBonus=0.04
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Mon 24/7/2006 19:49:22.000 - Creation time: Wed 7/2/2007 19:16:50.703 - Created with UnCodeX