package DieBrickDie
{
function HammerImage::onHitObject(%this, %obj, %slot, %col, %pos, %normal)
{
if(%col.getClassName() $= "fxDtsBrick")
%col.KillBrick();
return parent::onHitObject(%this, %obj, %slot, %col, %pos, %normal);
}
};
activatePackage(DieBrickDie);
I didn't test the code, obviously, don't judge me ;)