projectile::onCollision is going to damage them still, from other damage sources.
package godMode
{
function Armor::damage(%this, %obj, %sourceObject, %position, %damage, %damageType)
{
if(%obj.client.isGod)
{
return;
}
Parent::damage(%this, %obj, %sourceObject, %position, %damage, %damageType);
}
};
This will not allow any client with isGod set to 1 to be damaged.