Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- else if (CachedHealee != none && Instigator != none && Level.NetMode != NM_Client)
- {
- AdjustedLocation = Hitlocation;
- AdjustedLocation.Z = (Hitlocation.Z - 0.15 * Instigator.collisionheight);
- Spawn(class'KFWelderHitEffect',,, AdjustedLocation, rotator(HitLocation - StartTrace));
- if (CachedHealee.ShieldStrength < ArmourRepairRateThreshold)
- WeldArmour(CachedHealee, FastArmourRepairRate);
- KFPlayerReplicationInfo(Instigator.PlayerReplicationInfo).Score += DoshForWelding);
- KFSteamStatsAndAchievements(KFPlayerController(KFHumanPawn(Instigator).Controller).SteamStatsAndAchievements).AddWeldingPoints(MyDamage);
- else
- WeldArmour(CachedHealee, SlowArmourRepairRate);
- KFPlayerReplicationInfo(Instigator.PlayerReplicationInfo).Score += DoshForWelding);
- KFSteamStatsAndAchievements(KFPlayerController(KFHumanPawn(Instigator).Controller).SteamStatsAndAchievements).AddWeldingPoints(MyDamage);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement