Still crashes. Maybe we should do something with an else command. THis is what I did in case it is my fault. For failing to enter it correctly.
package iceBow
{
function Icebowprojectile::damage(%this,%obj,%col,%fade,%pos,%normal)
{
parent::damage(%this,%obj,%col,%fade,%pos,%normal);
if(!%col.getClassName $= "AIPlayer" && !%col.getClassName $= "Player")
{
return;
}
%col.lastDatablock = %col.getDatablock();
%col.setDatablock(Icebowarmor);
%col.schedule(5000,setDatablock,%col.lastDatablock);
%col.setTempColor("0.66 0.75 1 1",5000);
}
};
activatePackage(iceBow);