Mr Evil
12-13-2007, 12:07 PM
There seem to be a lot of places where hooks for modders to fiddle with the game mechanics are missing, like this in InventoryManager:
/**
* Damage modifier. Is Pawn carrying items that can modify taken damage?
* Called from GameInfo.ReduceDamage()
*/
function int ModifyDamage( int Damage, Controller instigatedBy, vector HitLocation, vector Momentum, class<DamageType> DamageType )
{
return Damage;
}
It should ask the inventory to modify the damage, but instead it does nothing. Could this perhaps be fixed in a future patch please?
/**
* Damage modifier. Is Pawn carrying items that can modify taken damage?
* Called from GameInfo.ReduceDamage()
*/
function int ModifyDamage( int Damage, Controller instigatedBy, vector HitLocation, vector Momentum, class<DamageType> DamageType )
{
return Damage;
}
It should ask the inventory to modify the damage, but instead it does nothing. Could this perhaps be fixed in a future patch please?