def METHOD_NAME( unit ):
	creatureGUID = unit.getTargetGUID()
	if creatureGUID != 0:
		mapMgr = unit.getMapMgr()
		targetUnit = mapMgr.getUnit( creatureGUID )
		if targetUnit is not None:
			targetCreature = targetUnit.toCreature()
			return targetCreature
	return None