I've heard that True PVE currently doesn't block players from damaging each other by splashing the new irradiated water on each other.
Is this something that can be done via a configuration tweak? If not, can support be added for handling this?
Controlling radiated water damage?
support would need to be added for it. I need to test it out
private object CanWaterBallSplash(ItemDefinition liquidDef, Vector3 position, float radius, int amount)
{
if (liquidDef == WaterTypes.RadioactiveWaterItemDef)
{
List<BaseEntity> entities = Pool.Get<List<BaseEntity>>();
Vis.Entities(position, radius, entities);
bool flag = entities.Exists(x => x is BasePlayer || x is PlanterBox);
Pool.FreeUnmanaged(ref entities);
return flag ? false : (object)null;
}
return null;
}Merged post
or this is an option too, but I don't like either.
private object CanWaterBallSplash(ItemDefinition liquidDef, Vector3 position, float radius, int amount)
{
if (liquidDef == WaterTypes.RadioactiveWaterItemDef)
{
return false;
}
return null;
}