did it kill the mother when you had less then 80% health? Im not positive what spec meant to do with Pause() I think he meant Stop().
Code:
function getMother()
for i = CREATURES_LOW, CREATURES_HIGH do
local c = Creature.New(i)
if c:Name() == "Slime" and c:HealthPercent() <= 75 then
return c
end
end
end
local mother = getMother()
local me = Creature.GetByID(Self.ID())
Module.New('slime-trainer', function(module)
if mother:isAlive() and me:HealthPercent() <= 80 then
mother:Attack()
module:Stop()
end
end)