Menus overhaul #14
@ -468,7 +468,6 @@ simulated function bool CheckReplacement(Actor Other, out byte bSuperRelevant){
|
||||
local NicePlayerController playerContr;
|
||||
local NiceRepInfoRemoteData remoteRI;
|
||||
local NiceReplicationInfo niceRI;
|
||||
local MeanReplicationInfo meanRI;
|
||||
local PlayerReplicationInfo pri;
|
||||
// Replace loot on levels
|
||||
if(Other.class == class'KFRandomItemSpawn' || Other.class == class'ScrnRandomItemSpawn'){
|
||||
@ -493,8 +492,6 @@ simulated function bool CheckReplacement(Actor Other, out byte bSuperRelevant){
|
||||
niceRI = spawn(class'NiceReplicationInfo', pri.Owner);
|
||||
niceRI.Mut = self;
|
||||
remoteRI = spawn(class'NiceRepInfoRemoteData', pri.Owner);
|
||||
meanRI = spawn(class'MeanReplicationInfo', pri.Owner);
|
||||
meanRI.ownerPRI = pri;
|
||||
playerContr = NicePlayerController(PlayerReplicationInfo(Other).Owner);
|
||||
playerContr.niceRI = niceRI;
|
||||
playerContr.remoteRI = remoteRI;
|
||||
|
@ -32,7 +32,7 @@ event Timer()
|
||||
|
||||
maxBleedCount--;
|
||||
|
||||
bleedDamage = calcBleedDamage();
|
||||
bleedDamage = bleedLevel * 7;
|
||||
if (bleedDamage < 1.0)
|
||||
{
|
||||
maxBleedCount = 0;
|
||||
@ -53,16 +53,6 @@ event Timer()
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Returns bleed damage, corresponding to given bleed level and damage scale.
|
||||
// Rand(7) should be used as a scale.
|
||||
// Separate function created to allow for lowest/highest damage value computing.
|
||||
final private function int calcBleedDamage()
|
||||
{
|
||||
return bleedLevel * 7;
|
||||
}
|
||||
|
||||
|
||||
// cleanup
|
||||
function Destroyed()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user