Overview | Package | Class | Source | Class tree | Glossary | Deus Ex UnrealScript Documentation |
previous class next class | frames no frames |
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 00038 00039 00040 00041 00042 00043 00044 00045 00046 |
//============================================================================= // WeaponModRange // // Increases Accurate Range //============================================================================= class WeaponModRange extends WeaponMod; // ---------------------------------------------------------------------- // ApplyMod() // ---------------------------------------------------------------------- function ApplyMod(DeusExWeapon weapon) { if (weapon != None) { weapon.AccurateRange += (weapon.Default.AccurateRange * WeaponModifier); weapon.ModAccurateRange += WeaponModifier; } } // ---------------------------------------------------------------------- // CanUpgradeWeapon() // ---------------------------------------------------------------------- simulated function bool CanUpgradeWeapon(DeusExWeapon weapon) { if (weapon != None) return (weapon.bCanHaveModAccurateRange && !weapon.HasMaxRangeMod()); else return False; } // ---------------------------------------------------------------------- // ---------------------------------------------------------------------- defaultproperties { WeaponModifier=0.100000 ItemName="Weapon Modification (Range)" Icon=Texture'DeusExUI.Icons.BeltIconWeaponModRange' largeIcon=Texture'DeusExUI.Icons.LargeIconWeaponModRange' Description="By lubricating the firing path with synthetic synovial fluid, the drag on fired projectiles is greatly reduced with a consequent increase in range.|n|n<UNATCO OPS FILE NOTE SC111-BLUE> Coating the primary valve system of a flamethrower or plasma gun in synovial lubricant and then over-pressuring the delivery system will also result in an increase in range. Little trick I learned during field testing. -- Sam Carter <END NOTE>" beltDescription="MOD RANGE" Skin=Texture'DeusExItems.Skins.WeaponModTex1' } |
Overview | Package | Class | Source | Class tree | Glossary | Deus Ex UnrealScript Documentation |
previous class next class | frames no frames |