What I placed was this above:
What you did miss was this:Feralidragon wrote: //This replaces both Shock Core and Bullet Box for a God Core
if ((o.isA('ShockCore') && !o.isA('GodCore')) || o.isA('BulletBox'))
{
replaceWith(o, "MyPackage.GodCore");
return false;
}
//This replaces both Shock Core and Bullet Box for a God Core
if ((o.isA('ShockCore') && !o.isA('GodCore')) || o.isA('BulletBox'))
{
replaceWith(o, "MyPackage.GodCore");
return false;
}
If you place that missing pharentesis in the place, it will compile.