package NoBotDamage
{
function ProjectileData::damage(%this,%obj,%col,%fade,%pos,%normal)
{
if(%obj.client.player.getClassName() $= "Player") && %col.getclassname() $= "AIPlayer"){return;}
Parent::damage(%this,%obj,%col,%fade,%pos,%normal);
}
};
^^ Players firing weapons cannot hurt AIPlayers. Two things:
This would mess up the Bot War mod.
%obj.client.player is needed - %obj is the bullet, not the firer.