cloneObject{
name = "Matrov",
baseObject = "snail",
movesound = "slime_walk",
attackPower = 50,
health = 360,
immunities = "poison",
onAttack = function(self)
spawn ("poison_cloud", self.level, self.x, self.y, self.facing)
onDie = function(self)
hudPrint("Matrov, the Putrid Prince has be Defeated!")
end,
}
I have probably done some really obvious thing wrong, but I just can't see it myself.
If you can help, it would be greatly appreciated
Thanks
Stephen